"Dave Mottorn" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
>
> I have an application that needs to hide some menu choices under some
> circumstances.  It would be perfect if I could
> completely eliminate a menu on one form and hide two choices on a menu
on
> another form.  I tried various combinations of MenuDispose,
MenuHideItem,
> and FrmSetMenu but I couldn't get anything to work.  I saw a couple of
> threads on this going back as long as two years ago but I couldn't
tell if
> anyone got these calls to work - much less how they did it.  Has
anyone been
> able to modify menus on the fly?

In general, you should only hide menu choices when the hardware doesn't
support the commands.  This comes from the Palm OS UI guidelines,
published on Palm's web site.

The easiest way to do this is to define multiple menu bars, each with
its own set of commands.  Change the menu bar attached to the form to
switch between the menu settigns using FrmSetMenu.  The menu API's
weren't added until Palm OS 3.5, and people have had problems using them
on menu items not at the end of a list.



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

Reply via email to