Hy all!

I use the folowing code to set color of the text that i will draw on a list
to blue:


RGBColorType rgb;
MemSet(&rgb, sizeof(rgb), 0);
rgb.b= 255;

WinSetTextColor (WinRGBToIndex(&rgb));

WinDrawTruncChars(Descricao, StrLen(Descricao), bounds->topLeft.x,
bounds->topLeft.y, 150);

But, when I set the focus on this text, the color continues blue, and not
changes to white.

How can i set the color of the text when it is selected?


Thanks!

Régis Daniel de Oliveira



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

Reply via email to