I was reading up on using GetAsyncKeyState_() with #VK_LBUTTON but MSDN seems to say that Windows 95/98/ME would not work with that constant?
http://msdn.microsoft.com/library/defau ... ystate.asp
Is it talking about distinguishing between the left & right shift keys or any constant with L/R in it?Windows 95/98/Me: The return value is the global asynchronous key state for each virtual key. The system does not check which thread has the keyboard focus.
I need to use GetAsyncKeyState_() with #BK_LBUTTON to determine if the left/right mouse button is depressed while in Callback and I can't use the normal wparam or lparam state checking because the #WM_MOUSEMOVE is within a #WM_SETCURSOR. I can detect when the user clicks the left or right mouse button just fine but if they hold it down and move only the #WM_MOUSEMOVE event is returned and I can't check lparam or wparam to see if the button is still down. Currently I'm using a global variable that is set/removed when a #WM_LBUTTONDOWN/UP even occurs but if the user hold the mouse button down, moves off of the window, lets go of the button (button up) and then return to the window, the program still thinks the button is down. That's why I need GetAsyncKeyState_() so I can proactively check the status of the left or right mouse button.
Soooooo....

