Hi all,
wxTreeListCtrl allows for checkboxes inside a nested tree structure; however, I do not want to have checkboxes for every node in the tree.
If I set the wxTL_CHECKBOX flag it enables checkboxes for ALL nodes. Is there anyway to disable checkboxes for some of the nodes?
Is it possible to have checkboxes appear for only certain nodes in wxTreeListCtrl? Topic is solved
-
- Super wx Problem Solver
- Posts: 466
- Joined: Tue Jun 20, 2006 6:47 pm
- Contact:
Re: Is it possible to have checkboxes appear for only certain nodes in wxTreeListCtrl?
No. If you don't need columns, you can a regular tree control and use the state image to emulate checkboxes. I wrote an example of doing that here.
Re: Is it possible to have checkboxes appear for only certain nodes in wxTreeListCtrl?
Thank you so much, I always knew I could do this but I was unsure about a few small details. Your code was invaluable and I have full functionality now