Jump to content

GUI app sometimes ignores/misses mouse click?


Mbee
 Share

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?

Thanks!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...