How get a pointer to CDocument ???
-
How can I get a pointer to my
CDocument
class in theCMainFrame
class? I have a Document / View application and have to work with some data of the document in myCMainFrame
class. So, how can I get a pointer to my document? Is there anyAfxGet???
function? Daniel ;) --------------------------- Never change a running system! -
How can I get a pointer to my
CDocument
class in theCMainFrame
class? I have a Document / View application and have to work with some data of the document in myCMainFrame
class. So, how can I get a pointer to my document? Is there anyAfxGet???
function? Daniel ;) --------------------------- Never change a running system!I believe this is it. CFrameWnd::GetActiveDocument() MD Mark Donkers A witty saying proves nothing. -- Voltaire
-
I believe this is it. CFrameWnd::GetActiveDocument() MD Mark Donkers A witty saying proves nothing. -- Voltaire
Thanks! Daniel ;) --------------------------- Never change a running system!