|
-
June 1st, 1999, 11:01 PM
#1
Global calls
ok,
heres the deal. i need to get a pointer to my Dialog Box(the parent) from a CTreeCtrl derived Class(the child). ive searched through teh globals and havent found anything taht works. Anyone know how to do it?
thanks
L5
-
June 2nd, 1999, 01:20 AM
#2
Re: Global calls
I'm assuming that your CTreeCtrl derived class is a member of dialog class.
In that case u can modify the constructor of ur CTree... derived class to accept a CDialog *.
This way u can store a pointer to parent in the CTree.. derived class.
While creating the object of CTree.. derived class u pass 'this' as a parameter to the constructtor.
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
|