📄 basicbut.h
字号:
// basicbut.h : header file
//
//按钮基类
/////////////////////////////////////////////////////////////////////////////
// CBasicButton window
class CBasicButton : public CBasicWin
{
// Construction
public:
CBasicButton();
// Attributes
private:
// Operations
public:
//初始化按钮
virtual BOOL InitButton( LPCSTR lpcsName , //窗口名称
const RECT &rect , //窗口大小
CWnd *pParent , //父窗口
UINT uWinID ) ; //窗口ID
// Implementation
public:
virtual ~CBasicButton();
protected:
// Generated message map functions
//{{AFX_MSG(CBasicButton)
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -