递归遍历
void Traverse(HTREEITEM hTree)
{
if (!hTree)
{
return;
} //Do Something. //Traverse Child Node
HTREEITEM hChild = GetChildItem(hTree);
Traverse(hChild); //Traverse Sibling Node
HTREEITEM hSibling = GetNextSiblingItem(hTree);
Traverse(hSibling);
}
循环遍历