Isn't there WinFillRectangle or something like that?
Oh man....
--- Johnathan Smith <[EMAIL PROTECTED]> wrote:
> I am using the follow code to change the background
> color of my rows in a list, but the full row color
> does not change. only where the data is!! How can I
> get the full row to be colored?
>
>
> static void ListDraw(Int16 itemNum, RectangleType
> *bounds, Char **itemsText)
> {
>
> static Char drow[40];
>
> StrPrintF( drow, "Line %d", itemNum);
>
> IndexedColorType inColor;
> if(itemNum % 2)
> {
> inColor = WinSetBackColor(6);
> }
> else
> {
> inColor = WinSetBackColor(24);
> }
>
> WinDrawChars(drow, StrLen(drow), bounds->topLeft.x,
> bounds->topLeft.y);
>
> WinSetBackColor(inColor);
>
> return;
> }
>
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/tech/support/forums/
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/