Post Reply 
Example: creating icon menus
01-08-2014, 06:20 PM (This post was last modified: 01-08-2014 06:21 PM by Han.)
Post: #11
RE: Example: creating icon menus
(01-08-2014 10:14 AM)The Shadow Wrote:  
(01-08-2014 05:07 AM)Han Wrote:  For some strange reason (likely a bug), a long click is never generated if your first mouse event is in fact a long click!

Many thanks for the detailed response! It's this bug that was tripping me up - I was never seeing the 7 show up.

Just to make sure, this bug means that in order for the long-click code to work, you first need to touch the screen somewhere besides the 'active' area, right? Otherwise the bug will ensure that a long-click is never caught.

In general, you just need to have touched the screen anywhere, really. If you are referring specifically to the example in the original post, then yes -- avoid the 'active' area. Only after some other touchscreen event has occurred will WAIT(-1) properly detect the long click.

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


Messages In This Thread
Example: creating icon menus - Han - 01-03-2014, 10:31 PM
RE: Example: creating icon menus - Han - 01-04-2014, 04:45 AM
RE: Example: creating icon menus - Han - 01-04-2014, 03:55 PM
RE: Example: creating icon menus - Mic - 01-04-2014, 02:57 PM
RE: Example: creating icon menus - Han - 01-08-2014, 05:07 AM
RE: Example: creating icon menus - Han - 01-08-2014 06:20 PM



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