Did you set the screen depth in your app as well? If not, try this for Palm
OS 3.5 code:

This is in my AppStart code:

   UInt32   newDepth = 2; // = 1, 2, 4, 8 - 2 is for 4 color, 4 is for 16
grays

  error = WinScreenMode(winScreenModeSet, NULL, NULL,&newDepth, NULL);

It is a different call for pre-3.5 code. Let me know if you need that too.
Don't forget to set it back to the default on AppStop also.

>>   err = WinScreenMode(winScreenModeSetToDefaults, NULL, NULL,NULL, NULL);

Hope that helps!

Kelly

"Matt Becker" <[EMAIL PROTECTED]> wrote in message
news:28163@palm-dev-forum...
>
> I see to have a problem with constructor.  I draw a bitmap or import a
bitmap
> into constructor, and when I compile and test the app, all my grey tones
> convert to black.  Im using a PalmVx ROM.  I set the color depth to 2bit
in
> constructor for the image.  Thanks in advance for your help..
>
> Matt
>
>
>
>



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