At 7:53 AM +0100 25-02-00, Richard Lang wrote:
>The following code does not work - The bit map is drawn OK but the clear bits
>of the bit map corrupt the screen.
This is just a guess, but make sure the background color has index 0. When
drawing 1-bpp bitmaps (only), the foreground and background colors are
applied when the depth is translated to the current screen depth, and this
happens BEFORE the draw mode is applied. So if the background color index
is not 0, then winOverlay (used to be scrOR) will alter the bits.
--Bob
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html