|
-
May 16th, 1999, 09:12 AM
#1
CTreeCtrl
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|