mainfrm.h

来自「《Visual C++ Bible》或者说是《Visual C++ 宝典》的对应」· C头文件 代码 · 共 49 行

H
49
字号
// mainfrm.h : interface of the DMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

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

// Attributes
public:
// ============== Begin Attributes formerly in FILELIST ==============
    COLORREF      d_crForeground; // Foreground text color.
    COLORREF      d_crBackground; // Background text color.
// ============== End Attributes formerly in FILELIST ==============

// Operations
public:
    void InitColors();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DMainFrame)
	//}}AFX_VIRTUAL

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

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

// Generated message map functions
protected:
	//{{AFX_MSG(DMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnWinIniChange(LPCTSTR lpszSection);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

⌨️ 快捷键说明

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