mouse button input

Started by
1 comment, last by Tera_Dragon 19 years, 10 months ago
How would I go about finding when the mouse button is pressed, but not with WM_LBUTTONDOWN or in the WinProc? I have a function with a loop in it and I want to be able to detect when the mouse button is pressed when in the loop. Thanks in advance for any help Tera_Dragon ____________________________________________________________ Programmers Resource Central
____________________________________________________________Programmers Resource Central
Advertisement
You could check the messages while in that loop.
Not giving is not stealing.
IsLButtonDown() (#include windowsx.h) or GetKeyState() using VK_LBUTTON.

Thanks Salsa!Colin Jeanne | Invader''s Realm
"I forgot I had the Scroll Lock key until a few weeks ago when some asshole program used it. It even used it right" - Conner McCloud

This topic is closed to new replies.

Advertisement