"Philip Sheard" <[EMAIL PROTECTED]> wrote in message
news:43701@palm-dev-forum...
>
> > To the many people who are having huge problems getting signature
> > capture code working on both OSes before 3.5 and OS 3.5 and later.
> >
> > Why haven't you refactored the problem? If the issue is getting
data
> > off the screen, why not change the problem? A signature capture
program
> > boils down to
> >
> > 1) capture user pen strokes
> > 2) show the strokes to the user
> > 3) save the strokes for later use
> >
> > This begs for using backing store code, where the pen strokes modify
an
> > offscreen bitmap, and the bitmap is copied back to the main screen
after
> > each penMove. Then, when you're finished, you have a bitmap all
ready
> > for you to use and you don't have to deal with grabbing out of
screen
> > memory.
>
> How would you apply the pen strokes to your off screen bitmap? If you
use a
> window, then you face the same problems of version dependency.
Oops... I forgot that all the new bitmap creation functions and
WinCreateBitmapWindow were added in 3.5. Forget this strategy -- it
would work, but it may be extra steps to implement all the bitmap
management and line drawing code for older OS versions.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/