To make it less "hackish", just get, save somewhere and then use the
bounds Rect of your regular output window to compare against; this will
work even if the main window is 320x320 and/or etc.

Ron Nicholson
Hotpaw
<http://www.hotpaw.com/rhn/hotpaw>

-----Original Message excerpt-----
Evan Wise writes:
...
>  I have a rather hackish way of detecting a menu:
>  look at the window bounds of the active window. If you know that your
>  regular window is 160x160 (yeah, not a guarantee; that's why this is a hack!
>  ;) ) delay the update.
...

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

Reply via email to