Question about ListView

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a ListView on a dialog with Detail view.
(1) How do I select the whole line instead of the 1st column?
(2) How do I hide a column so that user would not be able to see it?
(3) How do I programmatically adjust the column width to show all the text
in each column?
 
(1) How do I select the whole line instead of the 1st column?

Set the FullRowSelect property to true.

(2) How do I hide a column so that user would not be able to see it?

Can't you just remove it?

(3) How do I programmatically adjust the column width to show all the text
in each column?

In the 2.0 framework you can use the AutoResizeColumn(s) methods.


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

Back
Top