Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flush the Mouse Click Buffer
Message
 
To
17/02/2009 15:07:56
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01382467
Message ID:
01382478
Views:
40
#DEFINE WM_MOUSEFIRST 0x0200
#DEFINE WM_MOUSELAST 0x0209
#DEFINE PM_REMOVE 0x0001

DECLARE INTEGER PeekMessage IN user32;
	STRING @lpMsg, INTEGER hWindow,;
	INTEGER wMsgFilterMin, INTEGER wMsgFilterMax,;
	INTEGER wRemoveMsg
	
cBuffer=REPLICATE(CHR(0), 64)

DO WHILE PeekMessage(@cBuffer, 0,;
	WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE) <> 0
	DOEVENTS
ENDDO
Previous
Reply
Map
View

Click here to load this message in the networking platform