I have a form where, in addition to standard controls, I draw a couple of
lines when the form is initialized. This worked OK up to 3.3. On 3.5 I
notice that whenever a dialog pops up over my form (even system-controlled
alerts, etc.), when the dialog is removed my form is restored except for the
drawn lines. I checked, and in the event handler for frmUpdateEvent I do
call my function that draws the lines.
Putting in a breakpoint while using POSE, I find that when I get the
frmUpdateEvent, the entire Palm screen is blank (even the part not
previously covered by the dialog). My line-drawing routine is then called
and the lines are drawn on the screen. However, when I continue and return
from the event handler, my previous screen contents now appear, but minus
the lines that I just drew.
Anyone have any idea what is going on here, and how I can get it to work
correctly? It would be a pain to have to completely redraw the screen myself
in the frmUpdateEvent handler. I thought that the screen contents were
completely saved and restored by the OS when a dialog pops up (this all
worked on 3.3), and I am sure that I am not low on memory.
Doug Gordon
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html