"DavidK" <[EMAIL PROTECTED]> wrote: >I have an application that polls some sensors and displays the results on >the screen in a continuous fashion. The sensors are on a robot that the palm >pilot is controlling.. > >When the menu bar is active and a menu gets displayed it is overwritten by >the screen underneath. > >What can I do about it?
IIRC, a winEnterEvent is sent to the previously obscured form when the menu is dismissed. Before drawing, call WinGetActiveWindow() to make sure your window is on top. If not, set a 'dirty' flag, then check for the flag and redraw when you get a winEnterEvent on the form. -M- [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
