What is the best way to leave some indicator of which TreeNode is selected in a TreeView on a WinForm?
+6
A:
Disable the HideSelection flag on the TreeView control. By default, the selected node highlight is hidden when the control looses focus.
jrista
2009-06-01 17:56:22
Why would they turn that off by default. weird.
tyndall
2009-06-01 18:05:53
+1
A:
Checkboxes, or if you want a less invasive way you might try just changing the node's background.
arul
2009-06-01 17:57:53