You are on page 1of 1

Search :12

cut :0
coppy: 1
paste :2
back: 3
forward: 4
delete :5
new file :6
mo folder:7
save file :8
search file: 9
Up:13

http://baigiang.violet.vn/present/show?entry_id=736242

bool cControl:oNotifyHandle(LPARAM lParam)


{
switch (((LPNMHDR) lParam)->code)
{
case TVN_SELCHANGED:
{
LPNMTREEVIEW pnmtv = (LPNMTREEVIEW) lParam ;
TCHAR* Path = new TCHAR[256];
Path = this->m_treeView.GetPathSelectItem();
if(Path != L"")
{
//MessageBothis->hControl, Path, L"Thông báo", 0);
this->m_listView.AddItemFromDir(Path);
}
break;
}
}
return (this->m_listView.doNotifyHandle(lParam) | this->m_treeView.TreeView_Noti
fyHandle(lParam));
}

You might also like