When you create the offscreen window, for "format" parameter, specify "nativeFormat", and all will be well. However, beware that on low-res devices the created window will be low-res, and on high-res devices it will be high-res. Also if it is 16-bit color, the data is in little-endian format. So writing directly to it's bitmap's data is not so simple..
--- best regards, Dmitry Grinberg -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
