CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    140

    How to detect the current Mouse position?

    How can i find the current mouse position?
    Thanks
    Sigal.


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: How to detect the current Mouse position?

    GetCurPos APi gives it w.r.t the screen.
    Defn., from API viewer:

    Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint as POINTAPI) as Long



    Then you can find if it is in rect/rgn of interest using Ptinrect kind of APIS


    RK

  3. #3
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    140

    Re: How to detect the current Mouse position?

    Thanks.


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