I have a problem with my windows form.
I want to display items that doesn't fit on one row in a listview.
I would like to find a control which enables me to add all my columns but
one to the first row and the last column on the second row.
If it was a html-table an item would look like this
<tr><td>Column 1</td>
<td>Column 2</td>
<td>Column 3</td>
</tr>
<tr>
<td colspan="3">Column 4. Big.</td>
</tr>

It would be nice if the control would be similar to a listview in Details-view
(able to change the width and sort on the columns in the first row).


/nisse

Re: Multirow listview (sort of) by Alejandro

Alejandro
Fri Apr 01 09:45:20 CST 2005

Thats the "advantage" of wrapping everything from the win32 world.
You get the original ListView limitations, and this is one.

Maybe you can get arround this owner drawing the items.

or

you can create a HeaderControl (why isnt it already wrapped?)
owner draw a ListBox.

If you go this way you will have to find a method to get the Horizontal
Scroll Bar notifications from the ListBox, since it does not send them.

Best Regards,
Alejandro Lapeyre.

"Nils Hedström <Nisse@online.nospam>" <=?iso-8859-1?q?Nils Hedstr=f6m
<Nisse@online=2enospam>?=> escribió en el mensaje
news:368486632479705275349492@msnews.microsoft.com...
>I have a problem with my windows form.
> I want to display items that doesn't fit on one row in a listview. I would
> like to find a control which enables me to add all my columns but one to
> the first row and the last column on the second row.
> If it was a html-table an item would look like this
> <tr><td>Column 1</td>
> <td>Column 2</td>
> <td>Column 3</td>
> </tr>
> <tr>
> <td colspan="3">Column 4. Big.</td>
> </tr>
>
> It would be nice if the control would be similar to a listview in
> Details-view (able to change the width and sort on the columns in the
> first row).
>
>
> /nisse
>
>
>