Click to See Complete Forum and Search --> : Mouse State


Hyungu Park
May 6th, 1999, 04:07 AM
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

BrianOG
May 6th, 1999, 05:17 AM
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.