CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Threaded View

  1. #5
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    Re: using mouse hook to get selected text

    And another question is: what message CRecordPlayerDlg::OnMyMouseMove handles? If this is WM_MOUSEMOVE, how can you interpret param as MOUSEHOOKSTRUCT* while it's:
    lParam

    The low-order word specifies the x-coordinate of the cursor. The coordinate is relative to the upper-left corner of the client area.


    The high-order word specifies the y-coordinate of the cursor. The coordinate is relative to the upper-left corner of the client area.
    And if UWM_MOUSEMOVE is handled by that, are you sure your pointer points to the same process address space?
    Last edited by Igor Vartanov; April 3rd, 2010 at 09:25 AM.
    Best regards,
    Igor

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured