   mouse button input
  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 helpTera_Dragon   ____________________________________________________________Programmers Resource Central
  You could check the messages while in that loop. ;  IsLButtonDown() (#include windowsx.h) or GetKeyState() using VK_LBUTTON.   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 