www.gusucode.com > VC++递归法实现简单分形图形示例程序-源码程序 > VC++递归法实现简单分形图形示例程序-源码程序/code/KSQXDoc.cpp
//Download by http://www.NewXing.com // KSQXDoc.cpp : implementation of the CKSQXDoc class // #include "stdafx.h" #include "KSQX.h" #include "KSQXDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CKSQXDoc IMPLEMENT_DYNCREATE(CKSQXDoc, CDocument) BEGIN_MESSAGE_MAP(CKSQXDoc, CDocument) //{{AFX_MSG_MAP(CKSQXDoc) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CKSQXDoc construction/destruction CKSQXDoc::CKSQXDoc() { // TODO: add one-time construction code here } CKSQXDoc::~CKSQXDoc() { } BOOL CKSQXDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CKSQXDoc serialization void CKSQXDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CKSQXDoc diagnostics #ifdef _DEBUG void CKSQXDoc::AssertValid() const { CDocument::AssertValid(); } void CKSQXDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CKSQXDoc commands