
May 30th, 2003, 05:07 AM
|
|
Junior Member
|
|
Join Date: May 2003
Location: Delhi
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
VC++ MFC Challenge TREE CONTROL WITH Checkboxes
Dear All,
I am developing an application in which I require a "tree control with checkboxes".
The structure of tree control is as:
Main_Root
Child_1
Child_2
Child_3
Child_4
Child_5
Child_6
ie. simple tree having one main root and having many child items.
I have two problems related to it.
1)
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.
2)
Is there any way to disable a particular check-box in tree control.
Thanks in advance.
|