hi all,
i have an existing app which works fine. i am now looking to add color capability to
it. based on the data loaded into a table cell (the item style is set to
textTableItem), i want the cell to be of a certain color. is this possible if the
table item style is set to be textTableItem with a load call back procedure or does
the table item style HAVE to be a customTableItem? in the load callback procedure i am
calling:
WinSetTextColor(WinRGBToIndex(&textColor));
WinSetBackColor(WinRGBToIndex(&backColor));
WinFillRectangle(&bounds,0);
(where textColor, backColor are RGBColorType variables)
but this did not seem to help. but when a cell is selected, i see the color that i try
to set. i am a novice as far as programming in color is concerned. can some one please
help out? is there any sample code that i can look at for this?
i am using codewarrior7.0, SDK3.5.
regards,
bindu.
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/