root/MainFrm.h
/* [<][>][^][v][top][bottom][index][help] */
DEFINITIONS
This source file includes following definitions.
- CMainFrame
// MainFrm.h : CMainFrame クラスの宣言およびインターフェイスの定義をします。
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__B0C245C8_42EA_11D5_B88C_00008659960F__INCLUDED_)
#define AFX_MAINFRM_H__B0C245C8_42EA_11D5_B88C_00008659960F__INCLUDED_
#include <afxcview.h>
#include "MultiPartView.h"
#include "ProgDialog.h"
#include "SummaryView.h"
#include "AccountView.h"
#include "FolderView.h"
#include "TextView.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMainFrame : public CFrameWnd
{
protected: // シリアライズ機能のみから作成します。
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// アトリビュート
public:
// オペレーション
public:
// オーバーライド
// ClassWizard は仮想関数のオーバーライドを生成します。
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// インプリメンテーション
public:
BOOL m_button_gpg_dec;
BOOL m_button_info;
BOOL m_button_transfer;
BOOL m_button_reply;
void GetStatusBarProgress(int ¤t, int &upper);
CString GetStatusBarText();
void SetStatusBarProgress(int current, int upper);
void UpdateButton(BOOL b, CString account);
void HideMultiPartView(BOOL b);
void ReArrangeSplit();
void SwitchView();
CSummaryView* m_pListV;
CAccountView* m_pAcntV;
CFolderView* m_pTreeV;
CTextView* m_pTextV;
CMultiPartView* m_pMultiV;
CSplitterWnd m_wndSplitV;
CSplitterWndEx m_wndSplitH;
CSplitterWndEx m_wndSplitT2;
CSplitterWndEx m_wndSplitT;
BOOL m_flag;
CProgressCtrl m_progress;
BOOL Char(UINT nChar);
void SetStatusBarText(int pane, LPCSTR buf);
BOOL CreateToolbar();
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // コントロール バー用メンバ
CToolBar m_wndToolBar;
CStatusBar m_wndStatusBar;
// 生成されたメッセージ マップ関数
protected:
BOOL m_multipart_hide;
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnFetchmail();
afx_msg void OnUpdateFetchmail(CCmdUI* pCmdUI);
afx_msg void OnUpdateRetrieve(CCmdUI* pCmdUI);
afx_msg void OnTransfer();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnUpdateReply(CCmdUI* pCmdUI);
afx_msg void OnGpgDec();
afx_msg void OnGpg();
afx_msg void OnUpdateGpgDec(CCmdUI* pCmdUI);
afx_msg void OnUpdateGpg(CCmdUI* pCmdUI);
afx_msg void OnRetrieve();
afx_msg void OnDestroy();
afx_msg void OnSetting();
afx_msg void OnReply();
afx_msg void OnDraft();
afx_msg void OnAddress();
afx_msg void OnUpdateTransfer(CCmdUI* pCmdUI);
afx_msg void OnInfo();
afx_msg void OnUpdateInfo(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetting(CCmdUI* pCmdUI);
afx_msg void OnToolbarDropDown(NMTOOLBAR* pnmh, LRESULT* plRes);
afx_msg void OnReplyQuotation();
afx_msg void OnReplyNoQuotation();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSettingGeneral();
afx_msg void OnSettingAccount();
afx_msg void OnDisplayHeader();
afx_msg void OnDisplayRawMail();
afx_msg void OnSettingFilter();
afx_msg void OnSettingNewAccount();
afx_msg void OnTransferQuotation();
afx_msg void OnGpgKeyManagement();
afx_msg void OnClose();
afx_msg BOOL OnCopyData(CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct);
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
afx_msg void OnProgCreate();
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。
#endif // !defined(AFX_MAINFRM_H__B0C245C8_42EA_11D5_B88C_00008659960F__INCLUDED_)