Post Reply 
Code snippet: drawmenu with catching user action
03-04-2014, 03:43 AM
Post: #5
RE: Code snippet: drawmenu with catching user action
(03-03-2014 10:37 PM)Tim Wessman Wrote:  What happens if the user presses a key instead of touching the screen?

As Tim pointed out, you do have to address this instance -- this is why I had to check the TYPE of the result from WAIT(-1). You must use TYPE(), and it must be done separately from the mouse event type check (i.e. don't use AND). Otherwise a keyboard event will generate an error.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Code snippet: drawmenu with catching user action - Han - 03-04-2014 03:43 AM



User(s) browsing this thread: 1 Guest(s)