I return false for a while, then when I no longer need the events to fire, I return true.
I return true so the repeat clicking will stop as a audible indication to the user that the operation is complete. "Dave Lippincott" <[EMAIL PROTECTED]> wrote in message news:87934@palm-dev-forum... > > Make sure you are not returning 'true' when handling the repeat event. > > ----- Original Message ----- > From: "DL" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Monday, June 03, 2002 3:02 PM > Subject: Repeat Buttons Stuck Highlighted When Return True? > > > > I have a repeat button that handles events for a while, then I return true > > in response to the ctlRepeatEvent to stop the events from firing. However > > the button is stuck highlighted, even after the pen is removed from the > > screen. > > > > I've tried drawing the button, changing the button control value to 0, > etc. > > and nothing seems to work. An old post said FrmUpdateScrollers needed to > be > > called, however I've only succeeded in hiding (completely invisible) the > > control with that call. > > > > How can I get the button back to the non-highlighted state after I'm done > > handling the repeated events? > > > > Thanks! > > > > > > > > -- > > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
