mainfrm.h

来自「《深入剖析visual c++编程技术vcCode(人民邮电)》的源代码」· C头文件 代码 · 共 59 行

H
59
字号
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

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

protected:  // control bar embedded members
	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;

	CStatusProgress c_StatusProgress;
	CStatusEdit  c_StatusEdit;
	CStatusCombo c_StatusCombo;
	CStatusStatic c_StatusIcon;
	int iconstate;
	int progress;

// Generated message map functions
protected:
        void logEvent(UINT id, CString s = CString(_T("")));
	//{{AFX_MSG(CMainFrame)
        afx_msg void OnSelchangeCombo();
	afx_msg void OnChangeEdit();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnStatusCombo();
	afx_msg void OnStatusEdit();
	afx_msg void OnStatusIcon();
	afx_msg void OnStatusProgress();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

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