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

Thread: Mouse position

  1. #1
    Guest

    Mouse position

    Hi gunu,
    My question is how to know the mouse is in the main frame area or in the view area
    if I just move the mouse around but not click it. Thanks in advance.
    cepheid


  2. #2
    Join Date
    Apr 1999
    Location
    Tel-Aviv, Israel
    Posts
    7

    Re: Mouse position

    You can catch the MouseMove messages.


  3. #3
    Guest

    Re: Mouse position

    Thanks for your info, actually I don't know how to use the
    'catch' function for the mouse move. Can you please drop
    some words on this? thanks.
    cepheid


  4. #4
    Guest

    Re: Mouse position

    Try GetCursorPos(...) function


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