// Initialize member variable(s) in the constructor. CMdiDoc is // a CDocument-derived class. CMdiDoc::CMdiDoc() { // Use OLE compound files EnableCompoundFile(); m_hDefaultMenu = NULL; // initialize to NULL }
CMyExplorerDoc::CMyExplorerDoc() { // Use OLE compound files EnableCompoundFile(); // TODO: add one-time construction code here m_pFileList = NULL; }
CEx32aDoc::CEx32aDoc() { // Use OLE compound files EnableCompoundFile(); // TODO: add one-time construction code here }
CImageDocS::CImageDocS() { // Use OLE compound files EnableCompoundFile(); // TODO: add one-time construction code here }
CScribbleDoc::CScribbleDoc() { // Use OLE compound files EnableCompoundFile(); m_sizeDoc = CSize(200, 200); m_penColor = RGB(0,0,0); }
CEX32ADoc::CEX32ADoc() { // OLE 복합 파일을 사용합니다. EnableCompoundFile(); // TODO: 여기에 일회성 생성 코드를 추가합니다. }
CEditorDoc::CEditorDoc() { // Use OLE compound files EnableCompoundFile(); // TODO: add one-time construction code here m_bQuit = true; }
CDrawDoc::CDrawDoc() { EnableCompoundFile(); m_nMapMode = MM_ANISOTROPIC; m_paperColor = RGB(255, 255, 255); m_pSummInfo = NULL; ComputePageSize(); }
CDrawDoc::CDrawDoc() { EnableCompoundFile(); m_bCanDeactivateInplace = TRUE; m_nMapMode = MM_ANISOTROPIC; m_paperColorLast = m_paperColor = RGB(255, 255, 255); m_pSummInfo = NULL; ComputePageSize(); }
CDevObjDoc::CDevObjDoc() { m_dwVer = 0; m_dwNextObjectNumber = 0; m_bObjectsIsDeleting = FALSE; EnableCompoundFile(); EnableAutomation(); AfxOleLockApp(); }
CABMOfficeSystemcppDoc::CABMOfficeSystemcppDoc() { // Use OLE compound files EnableCompoundFile(); // TODO: add one-time construction code here EnableAutomation(); AfxOleLockApp(); }