basicbut.h
来自「支持Windows 3.x、Windows 9x平台上的中文(GB、Big5)、」· C头文件 代码 · 共 39 行
H
39 行
// 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 + =
减小字号Ctrl + -
显示快捷键?