开发者

How to clear mouse click buffer

开发者 https://www.devze.com 2022-12-22 01:14 出处:网络
We may use the following code to clear k开发者_高级运维eyboard buffer: while PeekMessage(Msg, 0, WM_KEYFIRST, WM_KEYLAST, PM_REMOVE or PM_NOYIELD) do;

We may use the following code to clear k开发者_高级运维eyboard buffer:

while PeekMessage(Msg, 0, WM_KEYFIRST, WM_KEYLAST, PM_REMOVE or PM_NOYIELD) do;

But how may I clear mouse click buffer?


I got it:

while PeekMessage(Msg, 0, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE or PM_NOYIELD) do;
0

精彩评论

暂无评论...
验证码 换一张
取 消