Jump to content

GUI app sometimes ignores/misses mouse click?

Recommended Posts


Occasionally, my Event Mode GUI app appears to either ignore, or fails to see, a mouse click. The control is created via GUICtrlCreatePic(), and is used for indicating that the app should process the next item.  There is no difference in the code or "code path" between a "next" mouse click that works and one that is ignored/missed; it's not as if the app is performing some work in one case that it's not in the other.  And there is no other app competing with this one, and the computer is plenty fast.  This happens approximately 10-20% of the time, so it is not rare.

I would have thought this to be virtually impossible, since I understood that events such as mouse clicks are queued and always "seen" eventually. Am I in error in this belief? What can prevent a mouse click event from being queued and soon recognized and processed?


Share this post

Link to post
Share on other sites

I've never had that happen before. Could you post the code so we can try to reproduce the error?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.