At 08:56 2002-11-16 -0500, you wrote:
Most popup dialogs tell the OS to save the area under them while visible. However, on debug ROMs, the OS intentionally doesn't save the bits. Instead, it always sends your form a frmUpdateEvent and asks it to redraw. You need to catch that event and use it to trigger your drawing, rather than rely on timing the redraws yourself.I experimented with my problem some more. When I show a custom dialog, I save what's under the dialog first and restore it when the dialog closes and everything's great. But, when some of the Palm dialogs pop up (e.g., Find, or Addresses) the custom drawing in my form gets erases. My controls are all still there, but my custom drawing (mostly lines created with WinDrawLine) is gone. It seems as though the form isn't saving what's underneath but rather refreshing the active form after it closes. This is a problem for my app. I need a way to save what's underneath and not have to redraw everythng.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
