This "older" method seemed a lot more straightforward to me. :) But it breaks the Palmsource rules and accesses a structure's internal workings.
The reason we discourage that is because it isn't just menus which might obscure you. Today, yes, they're the #1 thing, but sometimes we know what's coming in the future. Therefore to save you time, we tell you to do something slightly more general.
In other words, the question shouldn't be "is a menu visible" but nearly always ought to be "should I stop drawing because I'm obscured". The window events and active window status are probably what you really want to rely on.
-David Fedor PalmSource, Inc.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
