// 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;
}
Пример #3
0
CEx32aDoc::CEx32aDoc()
{
	// Use OLE compound files
	EnableCompoundFile();

	// TODO: add one-time construction code here

}
Пример #4
0
CImageDocS::CImageDocS()
{
	// Use OLE compound files
	EnableCompoundFile();

	// TODO: add one-time construction code here

}
Пример #5
0
CScribbleDoc::CScribbleDoc()
{
	// Use OLE compound files
	EnableCompoundFile();

	m_sizeDoc = CSize(200, 200);
	m_penColor = RGB(0,0,0);
}
Пример #6
0
CEX32ADoc::CEX32ADoc()
{
	// OLE 복합 파일을 사용합니다.
	EnableCompoundFile();

	// TODO: 여기에 일회성 생성 코드를 추가합니다.

}
Пример #7
0
CEditorDoc::CEditorDoc()
{
	// Use OLE compound files
	EnableCompoundFile();

	// TODO: add one-time construction code here

	m_bQuit = true;
}
Пример #8
0
CDrawDoc::CDrawDoc()
{
	EnableCompoundFile();

	m_nMapMode = MM_ANISOTROPIC;
	m_paperColor = RGB(255, 255, 255);
	m_pSummInfo = NULL;
	ComputePageSize();
}
Пример #9
0
CDrawDoc::CDrawDoc()
{
	EnableCompoundFile();

	m_bCanDeactivateInplace = TRUE;
	m_nMapMode = MM_ANISOTROPIC;
	m_paperColorLast = m_paperColor = RGB(255, 255, 255);
	m_pSummInfo = NULL;
	ComputePageSize();
}
Пример #10
0
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();
}