Michal Seliga wrote:

> one possibility is to have 2 menubar resources and set needed
> one with FrmSetMenu when you need to change it

> another possibility is to react on menuOpenEvent and use
> MenuHideItem for item you currently want to disappear.
> details about how this event work are in
> reference docs, read it, there is some important stuff


This is probably why you see bullets to mark selected items:
bullets are in the same font as the alphabet. Getting a checkmark
would require a callback to draw menu items with mixed fonts,
alas something Palm OS does not offer.

In my experience, multiple menus are just a pain to use because
they multiply cases in the switch statement to handle items. But
MenuAdd/HideItem APIs are somewhat risky; in my code, I see a past
comment that says "adding a menu item after one that later gets
hidden crashes"...


Luc Le Blanc
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to