In article <6251@palm-dev-forum>, "revcom" <[EMAIL PROTECTED]> wrote:

> Hi there,
> 
> I have a number of REPEATBUTTONS that are working fine except that after the
> pen is lifted, the button stays inverted. These buttons are actually form
> bitmaps, overlayed with empty text buttons.
> 
> Is handling ctlRepeatEvent events sufficient, or do I have to take
> additional action on something like a penUp event as well (eg to manually
> re-invert the button)
> 
> I am handling the buttons with the following code:
> 
>    case ctlRepeatEvent:
>    {
>     switch (pEvent->data.ctlEnter.controlID) {
> 
>      case CLEAR:
>       if (areaAnimating(&g.studentWords)) {
>        handled = true;
>...

I think, when handling ctlRepeatEvents, handled should never be set to
true in order to tell the system, that is has some other work to do (like
deselecting the button after pen up).
-- 
Remo <[EMAIL PROTECTED]>                       /   /   /   /
----------------------------------------- -===(o<0=0=0=0=0=0=0=0>===-
Do NOT remove .nospam from email address!          \   \   \   \

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to