Hi, Here is the method Palmsource wants you to use:
http://www.palmos.com/dev/support/docs/palmos/UserInterface.html#981702 Another way that they don't want you to use is to just check the visibility of the menu in the menu structure: Boolean bMenuIsVisible; MenuBarPtr pMenu; pMenu = MenuGetActiveMenu(); bMenuIsVisible = pMenu->attr.visible; This "older" method seemed a lot more straightforward to me. :) But it breaks the Palmsource rules and accesses a structure's internal workings. Does anyone know if this kind of thing can even still be done in the OS 5 SDK? I hope this helps. :) Tom Cain ------------------------------------------- "Rudolf Polzer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > In my application I am doing animation with > WinDrawChars(...). I want to stop that as long > as a menu is visible, because then the text > is written into the menu part of the screen. > How do I check the visibility of a menu? > > Thanks for a hint > Rudolf Polzer -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
