> What is the proper way of saving a Bitmap to a resource? I remember > someone from PalmSource mentioning that one can't copy the Bitmap directly, > because the bitmap header and the bitmap data may not be contiguous in > memory. I've looked in the eScribe archives, but I guess my search-fu > is lacking.
First, create an offscreen bitmap, assign a window to it, then do a WinCopyRectangle to copy the bitmap off the screen into off-screen storage. Then, you can safely use BmpGetBits -- you only have to worry about non-contiguous bitmaps when dealing with screen hardware, AFAIK. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
