Thanks, Peter.

That made it really clear.

Actually keeping clip rectangles
must be an enormous headache for
PalmOS, since you can switch to
offscreen, etc.

Still you probably need something
like stacking order, otherwise you
can't do it properly.

An obvious advantage of clipping
rectangles is that each screen area
isn't drawn more than once, therefore
you don't need a back buffer: this
is really worthwhile !

Michael


-----Original Message-----
From: Peter Epstein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 6 December 2001 1:14 PM
To: Palm Developer Forum
Subject: RE: Form must be full width?


The clipping rectangle is set for each frmUpdateEvent to just the portion of
that form which was obscured by the closing form. That's how the information
is passed, not as an explicit parameter.

Most applications don't do anything special with the clipping rectangle, but
any drawing they do will be clipped to that rectangle by the operating
system. Since the update logic assumes the constraints are satisfied, it
will miss some of the exposed areas.
-- 
Peter Epstein

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