May 30th, 2003, 05:07 AM
Join Date: May 2003
Time spent in forums: < 1 sec
Reputation Power: 0
VC++ MFC Challenge TREE CONTROL WITH Checkboxes
I am developing an application in which I require a "tree control with checkboxes".
The structure of tree control is as:
ie. simple tree having one main root and having many child items.
I have two problems related to it.
All child items should be checked to TRUE whenever we click 'root' checkbox and vice-versa. How to proceed for it ???????
I mean to say that which event should I capture for this.( ie. TVN_SELCHANGING )
Please send some code for this if possible.
Is there any way to disable a particular check-box in tree control.
Thanks in advance.