Sign in to follow this  
Followers 0
blindwig

3-state check boxes in listview/treeview

7 posts in this topic

Is it possible to have 3-state check boxes in a treeview or a listview control?

Share this post


Link to post
Share on other sites



I'm also interested in this. I'd like something similar to backup software where a checked item means that all sub-items are checked, an unchecked item means that all sub-items are unchecked, and a greyed-out-but-checked item means that some but not all sub-items are checked.

john

Share this post


Link to post
Share on other sites

I'm also interested in this.  I'd like something similar to backup software where a checked item means that all sub-items are checked, an unchecked item means that all sub-items are unchecked, and a greyed-out-but-checked item means that some but not all sub-items are checked.

john

<{POST_SNAPBACK}>

Yes, that's what I mean. I have a program that lists the relationship between item A and item B. If A affects B posatively, th check is set. If negatively, the check is cleared. If A has no effect on B, then the check is grey. When I had a known number of items, I did this with regular check boxes, using 3-state checks. But now that I have an runtime-determined number of options, I need a treeview or listview to easily maintain my check boxes. But I can't get the check boxes to go to a 3-state mode.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0