You create a tree-view control by using the CreateWindowEx function, specifying the WC_TREEVIEW window class. 你不能在SDK下用CTreeCtrl,该类是CWnd的继承类,你只能用CreateWindowEx创建一个tree-view 的窗口,用预定义的WC_TREEVIEW类.