<throwing in my .02$>

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.

psuedo code:
-get active window bounds
-usual event loop
-if not delay or delay and not an update
-FrmDispatchForm( )
-if active window proper sized kill delay

Put this code in your event loop and delay all updates (frmUpdateEvent and
the like) until you get back to the window size that tells you where you
are.

I have found this works with popup lists and menus (in all ways of popping
up) with no problems.
E/.
________________________________________________________
This message sent using the Infowave Wireless Business Engine(tm)

Evan Wise
Sprite Herder
infowave
E: [EMAIL PROTECTED]
T: 604 473 3779
F: 604 473 3633



-- 
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