How to change Listview w/different #of col and col header during r

G

Guest

I'm doing like a directory view thing with a TreeView on panel1 and Listview
control on panel2 of a splitcontainer. I have 2 quesiton:
1. How do I make the splitcontainer and the TreeView and the Listview to
resize when user click the max icon or resize the window?

2. What's the best way to change Listview with different #of col and col
headers and data source during runtime? Just like what we see in Active
Driectory User, Computers and Group application. Are there any good example
out there?
 
M

Mattias Sjögren

1. How do I make the splitcontainer and the TreeView and the Listview to
resize when user click the max icon or resize the window?

If you anchor or dock the controls in their containers it should
happen automatically.

2. What's the best way to change Listview with different #of col and col
headers and data source during runtime? Just like what we see in Active
Driectory User, Computers and Group application. Are there any good example
out there?

Not sure what you mean here. The way you change a Listview is
basically the same regardless of the number of columns.


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top