Home > Software engineering > How to realize the double tree controls different child nodes of the different operation
How to realize the double tree controls different child nodes of the different operation
Time:10-29
Inquired of god, written in OnDblclkTree1 function operation in all child nodes are double click on the execution, how to achieve to distinguish?
CodePudding user response:
As a node has its own TXT, can distinguish the basis,
CodePudding user response:
When can give insert node set different attribute CTreeCtrl: : SetItemData ()/GetItemData ()
CodePudding user response:
I remember you response the double-click events in double-click events can be get to you which the child nodes can also double-click according to the access to his parent node and then the judgment is ok