Deselect Event for TreeView


  • Is there a way to tell when an item in a tree view has been deselected or otherwise if the treeview has lost focus?

    There is the "Leave" event, but the problem I have is my treeview is part of a UserControl that is embeded in a dock bar I'm adding to an exsisting program. The controls in the UserControl seem to retain their focus status regardless of the focus status of the dockbar or usercontrol.

    Wednesday, February 18, 2009 8:00 PM