> From: Michael S. Davis
>
> NOW, I want to create a grayscale image for the 2 bit and 4 bit images.
> Is it possible to change the 2 bit and 4 bit images to use grayscale and
> NOT require any new code AND have the grayscale image show up on
> grayscale devices and the b/w image on 1 bit devices?
>
The whole purpose of a Bitmap Family is to let you create 1 to 4 pictures
(1-bit, 2-bit, 4-bit, 8-bit) at design time and the OS will pick which one
to use based on the current bitmap depth of the device your app runs on.
You don't have to write any code to make this happen. However, I think all
of the B&W devices default to 1 bit even though some of them can display
grayscale, and the color devices default to 8 bits. To change the display
depth at run-time, you have to add a little code to your app. See
WinScreenMode() or ScrDisplayMode().
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/