📄 bouncefrm.h
字号:
#if !defined(AFX_BOUNCEFRM_H__1FC7C800_8671_11D4_AAFF_F334B790261B__INCLUDED_)
#define AFX_BOUNCEFRM_H__1FC7C800_8671_11D4_AAFF_F334B790261B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BounceFrm.h : header file
//
#define IDC_BOUNCE_VIEW 1
/////////////////////////////////////////////////////////////////////////////
// CBounceFrame frame
struct COnCmdMsg
{
int m_nID;
int m_nCode;
void *m_pExtra;
AFX_CMDHANDLERINFO *m_pHandlerInfo;
};
#define WM_USER_ONCMDMSG (WM_USER+0x1000)
#define WM_USER_PREPARE_TO_CLOSE (WM_USER+0x1001)
class CBounceFrame : public CMDIChildWnd
{
DECLARE_DYNCREATE(CBounceFrame)
public:
CBounceFrame(); // protected constructor used by dynamic creation
BOOL Create(LPCTSTR szTitle, LONG style, const RECT& rect, CMDIFrameWnd* pParentWnd);
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBounceFrame)
public:
virtual BOOL DestroyWindow();
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CBounceFrame();
static CMenu menu;
// Generated message map functions
//{{AFX_MSG(CBounceFrame)
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
afx_msg LRESULT OnPrepareToClose(WPARAM wParam=0,LPARAM lParam=0);
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BOUNCEFRM_H__1FC7C800_8671_11D4_AAFF_F334B790261B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -