www.pudn.com > Thread_simple1.zip > ThreadDemo1Doc.cpp
// ThreadDemo1Doc.cpp : implementation of the CThreadDemo1Doc class
//
#include "stdafx.h"
#include "ThreadDemo1.h"
#include "ThreadDemo1Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CThreadDemo1Doc
IMPLEMENT_DYNCREATE(CThreadDemo1Doc, CDocument)
BEGIN_MESSAGE_MAP(CThreadDemo1Doc, CDocument)
//{{AFX_MSG_MAP(CThreadDemo1Doc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CThreadDemo1Doc construction/destruction
CThreadDemo1Doc::CThreadDemo1Doc()
{
}
CThreadDemo1Doc::~CThreadDemo1Doc()
{
}
BOOL CThreadDemo1Doc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CThreadDemo1Doc serialization
void CThreadDemo1Doc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
}
else
{
}
}
/////////////////////////////////////////////////////////////////////////////
// CThreadDemo1Doc diagnostics
#ifdef _DEBUG
void CThreadDemo1Doc::AssertValid() const
{
CDocument::AssertValid();
}
void CThreadDemo1Doc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CThreadDemo1Doc commands