Claude Gagnon
April 26th, 1999, 07:03 AM
Hi,
In a MFC Doc/View application, when I want to access a member function of the Doc class from a view class, I write :
CMyProgramDoc* pDoc = GetDocument();
After that, I can pass pDoc to another class and I can access member functions of CMyProgramDoc class.
I want to do the same thing with CMyProgramView.
How can I do that ?
Thanks
Claude
In a MFC Doc/View application, when I want to access a member function of the Doc class from a view class, I write :
CMyProgramDoc* pDoc = GetDocument();
After that, I can pass pDoc to another class and I can access member functions of CMyProgramDoc class.
I want to do the same thing with CMyProgramView.
How can I do that ?
Thanks
Claude