SOLVED: TreeView with 3-state checkboxes (empty, checked, gray checked)

  • Thread starter Michael A. Covington
  • Start date
M

Michael A. Covington

Often we need to make a TreeView with checkboxes that have more than 2
states. Consider for example the TreeView of files and folders in a tape
backup program. If the subordinate nodes of a particular node are partly
checked and partly unchecked, then the node itself has a gray checkmark.

I've hit on a way to do this with pure .NET functions, without using Win32
HitTest. See:

http://www.covingtoninnovations.com/michael/blog/0506/index.html#050621

I can't release my code because it's for a commercial client, and indeed it
isn't all written yet, but I hope the description on that web page will be
enough to get people started. Enjoy!
 

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

Top