|
-
May 27th, 1999, 06:25 PM
#1
My Dialog needs my doc pointer! Please help Mr. Expert!
In my SDI app, I have instantiated mydialog from myview. Of course, I have pDoc from myview, but I wanted to insert items into a list control (from mydialog's constructor). The items (variables) are all in mydoc. How can I get a pointer to mydoc so I can access those variables. Thanks for any help!
-
May 27th, 1999, 06:56 PM
#2
Re: My Dialog needs my doc pointer! Please help Mr. Expert!
easiest way is just to pass a pointer to the doc as an argument of your dialog constructor.
-
May 27th, 1999, 09:18 PM
#3
Re: My Dialog needs my doc pointer! Please help Mr. Expert!
Paul, thanks very much. That WAS simple.
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
|