<< Return to Main Index

< Return to Class Index

CGXDocument::SetPrimaryDocument

void SetPrimaryDocument(CGXDocument* pDoc) ;

pDoc

The CGXDocument instance that will be used as the primary document object.

Remarks

Set the primary document for this document. The primary document is the controlling document for this instance. This will be the document that interacts with the MFC framework for handling persistence calls etc.

CGXDocument

Class Overview | Class Members