📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__A38E477F_17D7_4C0E_B6D0_643CE23F5201__INCLUDED_)
#define AFX_MAINFRM_H__A38E477F_17D7_4C0E_B6D0_643CE23F5201__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <Afxdlgs.h>
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
protected:
public:
// Operations
public:
CSplitterWnd m_wndSplitter;
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CDialogBar m_wndDialogBar;
BOOL m_bSoundBall;
BOOL m_bSoundCush;
BOOL m_bSoundGoal;
BOOL m_bSoundMsg;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
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
// Generated message map functions
public:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnNewgame();
afx_msg void OnJoingame();
afx_msg void OnStopgame();
afx_msg void OnDestroy();
afx_msg void OnMouseSelect();
afx_msg void OnUpdateMouseSelect(CCmdUI* pCmdUI);
afx_msg void OnMouseSpin();
afx_msg void OnUpdateMouseSpin(CCmdUI* pCmdUI);
afx_msg void OnMouseTranslate();
afx_msg void OnUpdateMouseTranslate(CCmdUI* pCmdUI);
afx_msg void OnMouseZoom();
afx_msg void OnUpdateMouseZoom(CCmdUI* pCmdUI);
afx_msg void OnSoundBall();
afx_msg void OnUpdateSoundBall(CCmdUI* pCmdUI);
afx_msg void OnSoundCush();
afx_msg void OnUpdateSoundCush(CCmdUI* pCmdUI);
afx_msg void OnSoundGoal();
afx_msg void OnUpdateSoundGoal(CCmdUI* pCmdUI);
afx_msg void OnSoundMsg();
afx_msg void OnUpdateSoundMsg(CCmdUI* pCmdUI);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__A38E477F_17D7_4C0E_B6D0_643CE23F5201__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -