Re: TreeNode.ShowCheckBox

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The best I can suggest is to just make this checkbox inert; you can do
this by handling the TreeView's BeforeCheck event, and (for the
folders) set "e.Cancel = true;" (where "e" is the event-args parameter)
- now it cannot be checked.

Alternatively, you're looking at custom icons, so faking it... which
may not work so well.

Marc

.