Perfect... working now.

Thanks everyone for taking the time to offer the great suggestions.

Mike

"Michael Jones" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Having trouble with this:
>
> I have a program where I want someone to press and hold a button.  For as
> long as they hold the pen down on the button, I want a timer on the screen
> to increment and update it's display.
>
> Right now I'm doing the following within the ctrlEnterEvent:
> (Thanks to Aaron Ardiri for his previous post for that!)
> :
> EvtGetPen(&penX, &penY, &penDown);
> while (penDown)
> {
> MemSet(&newEvent, sizeof(EventType), 0);
> newEvent.eType = nilEvent;
> frmDuration_HandleEvent(&newEvent);
> EvtGetPen(&penX, &penY, &penDown);
> }
>
>
> This works since my nilEvent does the updating of the timer, except that
the
> button you push to trigger this never actually shows itself as selected
> while the pen is down.  Meaning, the button never fills in to show it's
> being pushed.
>
> Anyone now of a better way to accomplish this so that the button properly
> shows itself as selected?
>
> Thanks!
>
> Mike
>
>
>



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

Reply via email to