Instead of trying to create a new form, another approach you might try is to
draw your message on the current window.  You could copy the screen contents
of some area to an offscreen window, erase the screen area, draw your
message there, then restore from the offscreen window when your other
processing is done.  I haven't done this is C++, so I don't know how easily
this fits into your class strategy, but I think it should be possible.

----- Original Message -----
From: "Paul Bohme" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 9:57 PM
Subject: RE: Pacifier windows..?


> > Try adding a FormType * member to you class to hold the
> > previous active
> > form, save the active form using FrmGetActiveForm before you
> > draw your form,
> > set your new form to active, then reverse that procedure
> > after you erase it.
> > The system expects the topmost drawn form to be active.
>
> Hm, interesting thought.  As it stands the pacifier is never active across
> events - all the processing happens within the span of a single event.  (I
> know, badness to take that long to respond to even a power button hit, but
> it's network wait so excruciatingly out of my hands..)  That makes it
> difficult to make it the active window, because it would never come to
life.
> I wonder if creating and then deleting a form like that causes problems
with
> bad entries in the event queue?  If so, how do I filter those out?
> Hadn't thought of that.. (From the beloved nothing-is-ever-simple
> department..)
>
>   -P
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


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