Dear developers,

I'm in the process of writting a custom control that will feature a repeat
event. 

Them PalmOS documentation for ctlRepeatEvent says:

        The control routine CtlHandleEvent() sends this event. When
        CtlHandleEvent receives a ctlEnterEvent in a repeating
        button (tREP) or a feedback slider control (tslf), it sends a
        ctlRepeatEvent. When CtlHandleEvent receives a
        ctlRepeatEvent in a repeating button, it sends another
        ctlRepeatEvent if the pen remains down within the bounds of
        the control for 1/2 second beyond the last ctlRepeatEvent.

Can anyone tell me what the correct code for CtlHandleEvent is? I expect
that CtrlHandleEvent contains an event loop with limited dispatching. To
emit a ctlRepeatEvent every 1/2 second, I guess EvtGetEvent (&event,
SysTicksPerSecond ()/2) will be used. However, the overall event loop is not
clear to me.

Any help appreciated!

Kind regards, Harald

-
[EMAIL PROTECTED]
http://www.gps-laptimer.de




-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to