At 02:37 PM 5/11/2004, you wrote:
I would like the display to still show all color for everything but
display/process/save the signature window as a simple 1-bit file.

Any ideas would be greatly appreciated!

Make a 1-bpp bitmap, make an window for it (WinCreateBitmapWindow), and copy the signature to that bitmap using WinCopyRectangle, then save from that.


Or, you could do what I'm doing in an updated version of the Signature++ KB sample I'm working on -- as you draw the points for the signature on screen, also draw the same thing to an off-screen window which is 1-bpp. That saves you the trouble of capturing off the screen; instead, you always have an off-screen bitmap that you can use to refresh the screen.


-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to