Essam Helmy
May 16th, 1999, 09:12 AM
Hi,
I insert objects address as lParam in CTreeList and when I try to get it at OnDblclk.
by this code
NM_TREEVIEW* pNMTreeView = (NM_TREEVIEW*)pNMHDR;
TVITEMA* pItemNew = &pNMTreeView->itemNew;
CCityOb* pCity = (CCityOb*) pItemNew->lParam;
pCity don't return as vaild object, any one can help me
thanks.
I insert objects address as lParam in CTreeList and when I try to get it at OnDblclk.
by this code
NM_TREEVIEW* pNMTreeView = (NM_TREEVIEW*)pNMHDR;
TVITEMA* pItemNew = &pNMTreeView->itemNew;
CCityOb* pCity = (CCityOb*) pItemNew->lParam;
pCity don't return as vaild object, any one can help me
thanks.