⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 instantmessengerdoc.cpp

📁 c++系统开发实例精粹内附的80例源代码 环境:windows2000,c++6.0
💻 CPP
字号:
//////////////////////////////////////////////////////////////////////
// FileFury
// Copyright (c) 2000 Tenebril Incorporated
// All rights reserved.
//
// This source code is governed by the Tenebril open source
// license (http://www.tenebril.com/developers/opensource/license.html)
//
// For more information on this and other open source applications,
// visit the Tenebril OpenSource page:
//       http://www.tenebril.com/developers/opensource
//
//////////////////////////////////////////////////////////////////////

// InstantMessengerDoc.cpp : implementation file
//

#include "stdafx.h"
#include "Oscar.h"
#include "InstantMessengerDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CInstantMessengerDoc

IMPLEMENT_DYNCREATE(CInstantMessengerDoc, CDocument)

CInstantMessengerDoc::CInstantMessengerDoc()
{
}

BOOL CInstantMessengerDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// Set the document title.
	SetTitle(_T("Instant Messenger"));

	return TRUE;
}

CInstantMessengerDoc::~CInstantMessengerDoc()
{
}


BEGIN_MESSAGE_MAP(CInstantMessengerDoc, CDocument)
	//{{AFX_MSG_MAP(CInstantMessengerDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CInstantMessengerDoc diagnostics

#ifdef _DEBUG
void CInstantMessengerDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CInstantMessengerDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CInstantMessengerDoc serialization

void CInstantMessengerDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CInstantMessengerDoc commands

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -