Announcement

Collapse
No announcement yet.

Catch the mouse...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Catch the mouse...

    I have a dialog screen containing a listview. I want a help dialog to pop-up if the user
    clicks the right mouse key. (With the mouse pointer on the lefthand upper corner
    like with most programs)
    I use %WM_NOTIFY, %NM_RCLICK to get the mouse event, but cannot find a way to get the mouse
    coordinates there. Can it be done without subclassing?


    ------------------
    Peter.
    mailto[email protected][email protected]</A>
    Regards,
    Peter

  • #2
    GetCursorPos

    ------------------
    E-MAIL: [email protected]perevozki.ru

    Comment


    • #3
      Thanks, that works fine...
      Another question:
      How do I create a single popup menu in a DDT dialog without a parent menu bar?
      (like the one you get on pressing the right mouse key in pbedit)
      I only succeed with using a parent menu bar (which I don't want...)


      ------------------
      Peter.
      mailto[email protected][email protected]</A>
      Regards,
      Peter

      Comment


      • #4
        see a good and clean popup menu sample by peter stephensen at: http://www.powerbasic.com/support/pb...ad.php?t=22566


        ------------------

        Comment

        Working...
        X