Actually, I just thought of something else:
Store your pixel coordinates in a database or file as you go.  Don't 
save it as a bitmap, just save the coordinates.  Use your updateEvent
handler to redraw the picture based on the coordinates.  I don't know 
what you are doing exactly, but in this case, you could actually store
everything in your preferences, then reparse a list and get your 
coordinates back if the user leaves the app, then comes back in.  Just
a thought...
-Rus

>Whatever concievable action the user could take should be handled,
>one way or another, in your event queue.  If it isn't concievable, you 
>let your default handler take care of it (usually by ignoring 
>it).  All 
>the FrmUpdateForm event does is pump an updateEvent into the 
>event queue.
>You can also write your own psudo-system Event Handler that catches a 
>particular event before the system gets its paws on it, by placing it 
>ahead of the SysHandleEvent and the rest in the event queue (I do this 
>with catching key presses all the time). 
>
>In short, whatever the user does will generate some kind of event.  If
>you design your event handler correctly and robustly, you 
>should be able
>to let your system react to any event like this.  
>
>//* Rus Daniel Nesse 
>//* Application Development
>//* Avnet Convergent Technologies


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