Post Reply 
Bug i GETKEY (8151)
10-14-2015, 05:41 AM
Post: #11
RE: Bug i GETKEY (8151)
Hello,

The root cause is the limited event stack of the Prime.
Any event goes in the queue, Key presses, but also mouse messages.
If you type on the screen 3 times, you have at least 9 messages in the queue: 3 times Down, Up and Click.
Since nothing is consuming these messages, they stay there.
Since the queue is 8 deep, any other messages are ignored (so, in fact the last click is not there).
As a result, your key press never makes it into the queue and never triggers GetKey.

The WAIT(-1) command does allow to get stuff from, and out of, the queue, but that is the only way at this point in time.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bug i GETKEY (8151) - slawek39 - 06-27-2015, 08:31 AM
RE: Bug i GETKEY (8151) - DrD - 06-27-2015, 09:50 AM
RE: Bug i GETKEY (8151) - slawek39 - 06-27-2015, 10:00 AM
RE: Bug i GETKEY (8151) - Thomas_Sch - 06-27-2015, 10:59 AM
RE: Bug i GETKEY (8151) - DrD - 06-27-2015, 10:14 AM
RE: Bug i GETKEY (8151) - slawek39 - 06-27-2015, 10:29 AM
RE: Bug i GETKEY (8151) - DrD - 06-27-2015, 11:05 AM
RE: Bug i GETKEY (8151) - slawek39 - 06-27-2015, 11:05 AM
RE: Bug i GETKEY (8151) - StephenG1CMZ - 10-12-2015, 11:05 PM
RE: Bug i GETKEY (8151) - komame - 10-13-2015, 12:28 PM
RE: Bug i GETKEY (8151) - cyrille de brébisson - 10-14-2015 05:41 AM
RE: Bug i GETKEY (8151) - hpfx - 10-14-2015, 09:44 PM
RE: Bug i GETKEY (8151) - StephenG1CMZ - 10-17-2015, 07:59 AM



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