A listViewItemCollection question

  • Thread starter Thread starter Patrick De Ridder
  • Start date Start date
P

Patrick De Ridder

If I double click a header in a list view, I get
....SelectedIndexChanged(...)

My question:

With which code do I determine which column headers in a list view the
users has pressed?

I found plenty of references in MDSN, but I'm afraid I couldn't put
together an answer to my query from it.

Many thanks.
 
With which code do I determine which column headers in a list view the
users has pressed?

You need to handle the ListView ColumnClick event.
 
Could you please give me a code example, or give me a lead?

I was put off by the line in MacDonald's book (p. 213) that the
current list view does not support the column click event. I have seen
the reference is MSDN now.
 

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