This message was sent to me personally by Bulent Gecer <[EMAIL PROTECTED]>,
but mail to his box is being rejected at the moment.  Maybe he will see the
answer here, and maybe someone else will benefit from this info.

> I've created a bitmap family with three family items (1-bit, 2-bit
> and 4-bit each with the same Bitmap ID and size.
>
> Then, <snip> my Palm Vx with
> PalmOS 3.5.0 displays the 1-bit picture even though the OS
> supports greater depth.  Would you happen to know why?

Bulent,

I believe it displays the 1 bit family member because the current screen bit
depth is 1.  Even though the Vx can display 2-bit and 4-bit bitmaps, the
default screen depth is 1-bit.  To change the screen bit depth, if your
device implements the 3.5 New Feature Set, use:

   UInt32 depth = 4;    // or 1 or 2 or 8
   error = WinScreenMode(winScreenModeSet, NULL, NULL, &depth, NULL);

or, if it doesn't implement the 3.5 features, use:

   error = ScrDisplayMode(scrDisplayModeSet, NULL, NULL, &depth, NULL);

This is all described in the Palm OS SDK Reference.  If you didn't know
where to find the answer, this also would have been a good question to
submit to the Palm Development Forum.

Have a great day.

Richard Burmeister
[EMAIL PROTECTED]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to