1.添加控件设置变量绑定
2.添加数据
HTREEITEM RootNode1 = m_TreeCtrl.InsertItem(L"北京");
HTREEITEM ChildNode11 = m_TreeCtrl.InsertItem(L"昌平区", RootNode1);
HTREEITEM ChildNode12 = m_TreeCtrl.InsertItem(L"朝阳区", RootNode1);
HTREEITEM ChildNode13 = m_TreeCtrl.InsertItem(L"海淀区", RootNode1);
HTREEITEM RootNode2 = m_TreeCtrl.InsertItem(L"根节点2");