The reason is probably that you didn't set the appropriate display mode.
Take a look at the WinScreenMode function in >3.5 (in 3.5 it has another
name but it will be easy for you to find it), and pass a winScreenModeSet
parameter to set the desired color depth. After that, use normal
WinSetForeColor and a RGBColorType parameter as usual. So don't forget to
set the display mode first!

Dan

> Thx Dan
>
> But my rotine drwas PCx images using windraw pixel so i need to make ond
ein
> greysacle por os > 3.5.. so i couldn't find the funcition WInSetColors
>
> i use in my functon
> WinPalet to set the Palm palet to mach the one of the picture
>
> but my functon just work for colored or monocrome images
> in a palm not colored just mono works ofcurse.. but i want to make grey
> scale to work too
>
> thx
>
>
>
> _________________________________________________________________
> MSN Messenger: converse com os seus amigos online.
> http://messenger.msn.com.br
>
>
>



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

Reply via email to