comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Strange key event handling when too many events accumulate
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Strange key event handling when too many events accumulate [message #68395] Wed, 28 October 2009 09:57
Oliver is currently offline  Oliver
Messages: 6
Registered: July 2009
Junior Member
Hi all,

I'm observing the following behaviour with key events from
widget_draw:
E.g. widget_draw sends key events which are processed by a display
method which (say for the 'n'-key) displays the next position in an
image stack.
When I keep the 'n'-key pressed, the key-repetition will send events
faster than the display method can handle them (there's some
calculation stuff involved).
What happens is that when I release the 'n'-key, scrolling stops
immediately, but when I press it only once again, the display method
gets called another x times from key events that (my interpretation)
seem to have lived in some sort of buffer and had not yet been
processed.
Does anyone know this behaviour and is there some remedy against it?
Thanks!
Oliver
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: WIDGET_STUB equivalent for Windows platforms ???
Next Topic: Re: Strange key event handling when too many events accumulate

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:42:32 PDT 2025

Total time taken to generate the page: 0.40051 seconds