I know this is probably an easy question, but I just can't seem to find the
answer anywhere.  I've looked in the Palm site, and through the reference
and companion docs for 3.5.

I have an app where I use a bitmap to set the background color of the app to
green (white on non-color machines).  As I put text over the bitmap, the
background color of the text is always white.  I want the background color
of the text to be green (white on non-color machines).

I know there is a function called WinSetBackColor, but the argument to it is
an IndexedColorType.  I can't figure out which value to use.  I suspect I'm
going down the wrong path here.  I know there are other functions that set
the color based on an RGB value, but I can't figure out how to find the RGB
value for my background bitmap.

Any help on this, or even a snipet of sample code would be GREATLY
appreciated.

Thanks,

Mike Walters


-- 
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