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

Thread: Mouse State

  1. #1
    Join Date
    Apr 1999
    Posts
    98

    Mouse State

    Hi

    How can I get the mouse state without using OnLButtonDown() ? I'd like to know whether the Left button of
    the mouse is pressed or not in the OnTimer().

    Thanks and Best regards

    Hyungu Park


  2. #2
    Join Date
    May 1999
    Posts
    116

    Re: Mouse State

    Not sure about this, but try playing around with GetKeyState(VK_LBUTTON). The doc don't say anything about GetKeyState & mouse stuff, but VK_LBUTTON & VK_RBUTTON are listed in the list of virtual key codes.


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