--- Alexandre Kazantsev <[EMAIL PROTECTED]> wrote:
>
> I cannot find a way to slow down the Repeat button 
> response time. It repeats too fast as I hold the 
> button. Thanks in advance.

If you are talking about a program you wrote, then it gets two
ctlRepeatEvent events every second while the pen remains down within
the bounds of a repeat button control.  You should be able to ignore
some of those ctlRepeatEvent events.  Try modifying your code so it
only responds to every other ctlRepeatEvent, or look at the time stamp
and don't respond unless enough time has elapsed.

struct ctlRepeat {
  UInt16 controlID;
  struct ControlType *pControl;
  UInt32 time;
  UInt16 value;
} ctlRepeat;


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to