Is there a way to "examine" the x and y position of the mouse and the state of the mouse buttons statically (that is by interogation rather than by event)?
GetCursorPos
Thank you, but what about the button state?
The only way I know to get the state of the Buttons is by processing the WM_NOTIFY message and flagging the state for later use.