View Single Post
  #2 (permalink)  
Old July 23rd, 2011, 11:26 AM
Rod Stephens's Avatar
Rod Stephens Rod Stephens is offline
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

I'm not completely sure I understand. I can use the ListView's SelectedIndexChanged event to tell when the user clicks on a new item. Note that the event will be called with SelectedIndices empty when it removes the old item from the selection but before it adds the new item to the selection.

I put the control in an MDI child form and it seems to work.

Do you need more than that?

(As an aside, Microsoft seems to provide less support for MDI forms with each release. I don't think their heart is really in MDI.)
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
Reply With Quote