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

📄 magicdoc.h

📁 一个邮件客户端源代码,包括收发邮件,安排日程等很多内容
💻 H
字号:
// Copyright (C) 1997-2002 Valeriy Ovechkin
// 
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//
#ifndef MAGIC_DOC_INCLUDED
#define MAGIC_DOC_INCLUDED

class CMailbox;
template < class BASE_CLASS, class TYPE > class CTypedPtrArray;

class CMagicDoc : public CDocument
{
protected: // create from serialization only
	CMagicDoc();
	DECLARE_DYNCREATE(CMagicDoc)

// Attributes
public:
	CString		m_sPassword;	// file protection
	CTypedPtrList < CObList, CMailbox* > m_listMailbox;

	void EndResolveHostByName( WPARAM, LPARAM );
	void UpdateItem( CObject* );
	void UpdateIdle();
	void NewMailbox();
	void DeleteMailbox( CMailbox* );
	void MailboxProperties( CTypedPtrArray < CPtrArray, CMailbox* > &arrayMailbox );
	void MciNotify( UINT );
	void Check();
	void StopChecking();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMagicDoc)
	public:
	virtual void Serialize(CArchive& ar);
	virtual void DeleteContents();
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	virtual BOOL OnNewDocument();
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMagicDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
public:
	//{{AFX_MSG(CMagicDoc)
	afx_msg void OnTimerCheck();
	afx_msg void OnStopCommandAll();
	afx_msg void OnStopPlaybackAll();
	afx_msg void OnUpdateStopPlaybackAll(CCmdUI* pCmdUI);
	afx_msg void OnUpdateStopCommandAll(CCmdUI* pCmdUI);
	afx_msg void OnPassword();
	afx_msg void OnUpdatePassword(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif

⌨️ 快捷键说明

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