----- Original Message -----
Subject: MenuHideItem and Menu show item crash my Palm V (os 3.5)
> The following code hangs my Palm, looks like a bug to me.
>
> case menuOpenEvent:
> if (G_prefs.PPL_mode)
> {
> MenuShowItem (MainOptionsDiameter);
> }
> else if(!G_prefs.PPL_mode)
> {
> MenuHideItem (MainOptionsDiameter);
> }
>
> handled = false;
> break;
I think you should set handled = true.
Also, menuOpenEvent is only implemented if the 3.5 New Feature Set is
present, so that could cause a problem if the device isn't using 3.5. I
think you just won't receive a menuOpenEvent unless the 3.5 features are
implemented.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/