What's causing the menu to disappear?  Are you calling FrmDrawForm or a
similar function?  If this is the case, and you don't need to visually
update the form while the menu is up, you might want to call the graphics
update function only when the menu isn't up.

This is what I use to detect the menu.  There's an article somewhere on how
to detect when it is up, if you want to search around for it.

menuUp = WinGetActiveWindow() != FrmGetWindowHandle(FrmGetActiveForm());

-- 
Tim Kostka
http://www.nuprograms.com


"Jeff Leal" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi again,
>
> I have a custom event that refreshes a form every second.
> However, because of this, if I press the menu button the menu will
> atmost be displayed for one second. How can I maintain the menu
> displayed? Do I have to kill the custom event handler, while handling a
> menu event?
>
> Cheers
> Jeff
>
>
>



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

Reply via email to