是我错了,but now i want to get the special item of the treelist ,i used the fucation getitem() or getnextitem()(to the clistview the getnextitem ()can get the selected item .),but i can get the item like the listview, how can i get the item i need trought a easy way. thanks !waiting for the key
并用ClassWizard对CMainFrmod 类添加OnCreateClient(...)函数,在该函数中添加如下代码:
m_wndSplitter.CreateStatic(this, 1, 2);
if(!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CTreeView), CSize(300, 0), pContext);
return false;
if(!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CListView), CSize(0,0), pContext);
return false;
return TRUE;
不能分割只出现滚动条
是我错了,but now i want to get the special item of the treelist ,i used the
fucation getitem() or getnextitem()(to the clistview the getnextitem
()can get the selected item .),but i can get the item like the listview, how can i get the item i need trought a easy way.
thanks !waiting for the key
m_wndSplitter.CreateStatic(this, 1, 2);
if((!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CTreeView), CSize(300, 0), pContext)||(!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CListView), CSize(0,0), pContext));
return FALSE;return TRUE;3.完成!!