>Try:
>RectangleType invRect;
>TblGetItemBounds( table, row, myColumn, &invRect );
>you can call again to get size of other columns of interest or call
>FrmGetObjectBounds( frm, myTableID, &invRect );
>and use the entire width of the table
>then call
>WinInvertRectangle( &invRect, 0 );
That'd probably work fine on on a black and white display, but on a color
device it'll have a high probability of looking ugly. In general nobody
should call WinInvertRectangle anywhere if there's a possibility of the
stuff being in color; color inversions usually don't do what you want.
Instead, switch to the UI colors for a selected item of whatever it is
you're drawing, and redraw with the right colors. That's what
UIColorGetTableEntryIndex() and the UIColorTableEntries enum are for.
(Using a debug color rom may demonstrate the problem more vividly than a
release one does, due to the different color choices.)
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html