"Michael S. Davis" wrote:
> 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.
Those events are in the OS (penDown, pen Move and penUp).
>
> 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?
There isn't much in the OS for this. Remember your "rule of seven".
>
>
> Redrawing the whole image each time the pen moves seems kind of
> slow. There must be an easier way. Anyone?
It is a single screen with not much in selective buffering. You should rethink you UI
if you find yourself needing drag and drop.
A Palm app shouldn't be that complicated to require such an advanced UI concept.
Steve
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/