Ken Krugler wrote: > > If you don't want to use the window enter/exit events for some > reason, then you can check to see if the active window is the same as > the active form's window. If not, then there's probably something > obscuring your form. I wound up having to use this technique for 68K > FEPs running on Palm OS 5.
I think that's the best method. Yet another problem with checking the menu's visibility explicitly is that it's not /general/. There are a variety of other cases where the current draw window can change without the application being aware--alarms, notifications, desk accessories, hacks, etc. can all create their own windows. Furthermore, AFAIK the winEnter/winExit thing is reliable only for menus. Dialogs have their own event loops that can consume the winExit event before the main UI application ever sees it. __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
