?? magicdoc.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 CopyMailBox(CMailbox* pCopy);
void DeleteMailbox( CMailbox* );
void MailboxProperties( CTypedPtrArray < CPtrArray, CMailbox* > &arrayMailbox );
void MciNotify( UINT );
void Check(BOOL bForce = FALSE);
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 + -