我用VC 2003中文版
如下代码应该先在CTreeCtrl插入一个aa,再在aa下添加一个子节点bb,可是子节点bb就是不出来,不管执行几遍它只在根下添加aa.到底版回事啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!HTREEITEM insert_item = tree_ctl->InsertItem("aa");
tree_ctl->InsertItem("dd", insert_item);
在线等待.
如下代码应该先在CTreeCtrl插入一个aa,再在aa下添加一个子节点bb,可是子节点bb就是不出来,不管执行几遍它只在根下添加aa.到底版回事啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!HTREEITEM insert_item = tree_ctl->InsertItem("aa");
tree_ctl->InsertItem("dd", insert_item);
在线等待.
没碰到过,up
HTREEITEM insert_item = tree_ctl->InsertItem("aa");
tree_ctl->InsertItem("dd", insert_item);
tree_ctl->InsertItem("dd", insert_item);
tree_ctl->Expand(insert_item,TVE_EXPAND);