mainfrm.h

来自「深入剖析Visual C++编程技术及应用实例」· C头文件 代码 · 共 51 行

H
51
字号
#if !defined(AFX_MAINFRM_H__ADA7D7EA_E2C1_11D3_84C7_0080450EA020__INCLUDED_)
#define AFX_MAINFRM_H__ADA7D7EA_E2C1_11D3_84C7_0080450EA020__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ChevBar.h"

class CMainFrame : public CFrameWnd
{
	
protected:
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)


public:

	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

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

protected:

	// Sample toolbars :-)
	CToolBar    m_wndToolBar, m_wndToolBar1;

	// Our chevbar that knows how to handle chevrons when it has a toolbar
	CChevBar      m_wndReBar;

protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_MAINFRM_H__ADA7D7EA_E2C1_11D3_84C7_0080450EA020__INCLUDED_)

⌨️ 快捷键说明

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