Unfortunately, that's no good for me.  Accessing the internals of menu
structures is no longer allowed, and AFAIK there are no PalmOSGlue routines
to check the visible bit.

- James


"ThuNguyet Nguyen" <[EMAIL PROTECTED]> wrote in message
news:82613@palm-dev-forum...
>
> > There are no glue routines to determine if a menu is visible.
>
> Have you try:
>
>    MenuBarPtr menuP;
>
>    menuP = MenuGetActiveMenu();
>    if ((menuP == NULL) || (menuP && (!menuP->attr.visible))) {
>    // no menu, popup the alert that VFS is mounted...
>    }
>
> Hope that helps.
>
> tnn



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

Reply via email to