Home > Software engineering >  The checkbox in the tree how multiple selected deleted
The checkbox in the tree how multiple selected deleted

Time:11-07

Void CtestDlg: : DeleCheckBox (HTREEITEM item)
{
if(! Item) return;
If (m_tree GetCheck (item))
{

M_tree. Called DeleteItem (item);
}
If (m_tree ItemHasChildren (item))
{
HTREEITEM hchildren=m_tree. GetChildItem (item);
Do
{
If (hchildren)
{
DeleCheckBox (hchildren, p);
Hchildren=m_tree. GetNextItem (hchildren TVGN_NEXT);
}
} while (hchildren);
}
}
This time can only select one deleted, how to select multiple delete,

CodePudding user response:

https://download.csdn.net/download/schlafenhamster/594310

CodePudding user response:

"MultiSelcetTree.zip"
  • Related