Re: LISTBOX MultiColumns



I guess what you are wanting is not a multi-column-flowing list of data, but
a vertical list of multi-column data?

http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/listboxes/listboxreference/listboxmessages/lb_settabstops.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;816176

Basically, use the LBS_USETABSTOPS style and send LB_SETTABSTOPS with the
column positions (accumulated widths) along with tabs "\t" in your data.


"Tom Serface" <tserface@xxxxxxx> wrote in message
news:uycuyWsFGHA.724@xxxxxxxxxxxxxxxxxxxxxxx
> You may want to consider using a list control rather than a list box for
> multiple columns. I think they are much easier to use for anything except
> really simple strings.
>
> Tom
>
> "vlg" <I.dare.you.to.hit.the.SPAM.button@xxxxxxxxx> wrote in message
> news:OhVujgpFGHA.3700@xxxxxxxxxxxxxxxxxxxxxxx
>> How do I add data to diferent Columns in a LISTBOX (with LBS_MULTICOLUMN
>> style) ?
>>
>> thanks
>>
>
>


.


Loading