>From a Past post:
>> return (Boolean) (menubar->attr.visible);
>Ugg. I hate when folks look inside PalmOS objects when they don't need to.
>
>
>Generally, when folks ask "How can I detect when the menu is displayed?",
>they have code that's drawing to the screen even when other things appear
>where the code is drawing. In this case, the more useful question is "How
>can I detect when it's safe to draw to my window?"
>
>The answer to that question is to watch the winEnterEvent and
>winExitEvents. PalmOS will send a winExitEvent to indicate that a window
>is no longer topmost. You'll also see a winEnterEvent when a window is,
>except that there are a few cases where other things can change this. So
>double check your window against FrmGetFirstForm (). Don't forget that
>winEnterEvent gets sent to all windows, so filter out those that you don't
>want to see.
>
>For a good example which you can mostly copy and paste into code, see
>Reptoids.c.
-Roger Flores
-----Original Message-----
From: Jason Simpkins <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Wednesday, April 26, 2000 2:53 PM
Subject: Is menu poped up?
>Howdy,
>
>How can I tell if a menu pull down is currently displayed? I can tell if
a
>menu item has been
>selected, but I need to know if the menu is currently on the screen.
>
>Thanks,
>Jason
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html