Results 1 to 10 of 16

Thread: Right Click Position

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Feb 2009
    Location
    Brazil
    Posts
    4,572

    Default Re: Right Click Position

    The windows control classes has the capability. and DAW's implemented the capture.. but it seems not entirelly.

    They have the events being rasied Mouse_down2 and Mouse_up2, which is related to the 2nd mouse button (right click) and it has the paramter iPositon.

    But in a cTextEdit class, it always comes as 0. :-(

    Using Control Spy tool, I can see The equivalent Windows control messges that are sent to the control in the following order:
    WM_RBUTTONDOWN
    WM_SETCURSOR
    WM_RBUTTONUP
    Last edited by Samuel Pizarro; 1-Oct-2022 at 10:02 AM.
    Samuel Pizarro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •