Silly me, WinInvertRectangle does it. -- Luc Le Blanc
I previously asked : > I get told though private e-mail that I'm better off with a gadget if horizontal > scrolling is required. It thus means I have to handle row selection, writing white > text on black background. How can this be done in pre-OS 3.5 when > WinSetFore/BackColor did not exist? Actually, how did lists do that back then? > > -- > Luc Le Blanc > > I previously wrote : > > > But my readings tell me a table is not scrollable horizontally. Alas, if some > > data is too wide, I want to let the user widen the columns to his taste. > > > > -- > > Luc Le Blanc > > > > Dave Lasker a écrit : > > > > > I had the same problem and I used a table. With customTableItem you don't > > > need to "format and keep all the data"; your CustomDrawProcedure callback > > > formats it on the fly as needed. I had one wide table column which I > > > subdivided into several user-sized columns in my CustomDrawProcedure. > > > > > > HTH... > > > > > > Dave > > > > > > <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > I need to display a (possibly) long list of read-only data in column form, > > > with > > > > user-resizeable columns. I first considered a table, but I would need to > > > format > > > > and keep all the data into ready to display static strings. So instead, I > > > chose > > > > a list, as recommended in the Palm OS Programming Guide for read-only > > > data. > > > > Only drawbacks: the scroll arrows get drawn within the list and the list > > > is > > > > surrounded by a frame, which doesn't invite to horizontal scrolling (if > > > need > > > > be). So in the end, if these drawbaks cannot be circumvented (can they?), > > > a > > > > gadget seems more appropriate, despite the added burden of handling > > > scrolling > > > > and row selection. The code recipes I found so far (Palm Source) are > > > pretty > > > > basic. > > > > > > > > Suggestions and/or examples would thus make a great virtual Xmas gift ;) > > > > > > > > > > > > -- > > > > Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/