troubleshooting Question

Can I hide checkboxes on selected nodes in an MS treeview control?

Avatar of Bryce Bassett
Bryce BassettFlag for United States of America asked on
* TreeViewMicrosoft OfficeVBA
1 Comment1 Solution58 ViewsLast Modified:
Working with MS treeview control using VBA.  Is there any way to disable the checkboxes on some treeview nodes but not on others?    I've read some posts that say checkboxes are all or nothing.  

If a node has children, I don't want to show a checkbox.  I want them to first expand the tree, then check one or more boxes only at the child level.  

I've seen many posts about this question, but most of them have C# or VB solutions, or a custom-written treeview control.  I'd prefer not to have to go that custom.  Looking for a solution I can implement with only VBA.

Is this possible, or am I barking up the wrong tree(view)?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros