|
// This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface
// (the "Fluent UI") and is provided only as referential material to supplement the
// Microsoft Foundation Classes Reference and related electronic documentation
// included with the MFC C++ library software.
// License terms to copy, use or distribute the Fluent UI are available separately.
// To learn more about our Fluent UI licensing program, please visit
// http://msdn.microsoft.com/officeui.
//
// Copyright (C) Microsoft Corporation
// All rights reserved.
// GLViewMFCMDIAppDoc.cpp : implementation of the CGLViewMFCMDIAppDoc class
//
#include "stdafx.h"
#include "GLViewMFCMDIApp.h"
#include "GLViewMFCMDIAppDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CGLViewMFCMDIAppDoc
IMPLEMENT_DYNCREATE(CGLViewMFCMDIAppDoc, CDocument)
BEGIN_MESSAGE_MAP(CGLViewMFCMDIAppDoc, CDocument)
END_MESSAGE_MAP()
// CGLViewMFCMDIAppDoc construction/destruction
CGLViewMFCMDIAppDoc::CGLViewMFCMDIAppDoc()
{
// TODO: add one-time construction code here
}
CGLViewMFCMDIAppDoc::~CGLViewMFCMDIAppDoc()
{
}
BOOL CGLViewMFCMDIAppDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
// CGLViewMFCMDIAppDoc serialization
void CGLViewMFCMDIAppDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
// CGLViewMFCMDIAppDoc diagnostics
#ifdef _DEBUG
void CGLViewMFCMDIAppDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CGLViewMFCMDIAppDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
// CGLViewMFCMDIAppDoc commands
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.