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!
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.
Re: My Dialog needs my doc pointer! Please help Mr. Expert!
Paul, thanks very much. That WAS simple.