You determine the maximum color "depth" via a call to ScrDisplayMode()
(there's a newer name for 3.5, but this works for all if you want gray on
earlier versions). You can then set the screen mode using:
ScrDisplayMode(scrDisplayModeSet, NULL, NULL, &dwDesiredScreenDepth, NULL)
Steve
"Sean L. Gilley" <[EMAIL PROTECTED]> wrote in message
news:36211@palm-dev-forum...
>
>
> I finished upgrading one of my apps to 3.5 last night, and
> started added color support.
>
> However, I could find answers to a couple of questions.
>
> Is there a way to determine if I'm on a color device? I
> know how to determine if I'm on a 3.5 device, but that's
> not what I want to know. According to the docs, for devices
> without color support but with grayscale support, the OS
> tries for a "best match" in terms of shading. I don't want
> that. For non-color devices, I want everything black, for
> color devices I want to be able to choose.
>
> Is there a way to set multiple text colors in a table cell?
> I want to be able to color one word one color, with the rest
> of the cell a different color. I couldn't find a way to
> easily switch text colors.
>
> Thanks,
>
> Sean.
>
> ---
> Sean L. Gilley I have come to doubt all that I once held as
true.
> [EMAIL PROTECTED] I stand alone, without beliefs...
> http://www.desert-penguin.com
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/