Chris, thanks for the reply. It is shifted by a few pixels, and the shifting is constant down the image. I also thought about alignment issues, but I don't do any low-level image maniulations with image memory, nor any pointer math on image addresses, just WinDrawBitmap and WinCopyRectangle.
And, what do you mean by the 'right' width of the image? I also believe that drawing images into the offscreen window is done fine. As in most double-buffering implementations, I redraw only changed areas from the offscreen to the screen, and this is where the shifting occurs. When sometimes the game updates the whole screen by copying the entire offscreen window to the screen, the image is fine. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
