-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

the classic solution is to xor the box against the background to draw
it, then to xor it again to replace the previous contents.

- -----Original Message-----
From: Michael S. Davis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2000 11:52 AM
To: Palm Developer Forum
Subject: Drag and drop



Problem:
Say, you touch the screen with the pen; drag the pen to a new
location; then lift the pen.  You also want a visible box to show the
selected area.  You want the box to be erased and redrawn
as the pen is moved but erased when the pen is lifted.

The problem is that, as the pen moves and the box erased and redrawn,
the image beneath it is also erased.  What is the technique used to
do
this and not destroy any underlying image?  

Redrawing the whole image each time the pen moves seems kind of
slow.  There must be an easier way.  Anyone?


- -- 
For information on using the Palm Developer Forums, or to
unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1
Comment: Crypto Provided by Network Associates <http://www.nai.com>

iQA/AwUBOSL4Ln68oPxhkRjlEQKEtACfcDI+5IPghfFPoSvIU5djozDww7AAn31o
9lVASEl0LUECn4Fko60AcOz+
=Txs5
-----END PGP SIGNATURE-----

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