📄 adjustbutton.h
字号:
#if !defined(AFX_ADJUSTBUTTON_H__F431CB00_6E5C_4D71_95DA_2CDBDFD3F9B9__INCLUDED_)
#define AFX_ADJUSTBUTTON_H__F431CB00_6E5C_4D71_95DA_2CDBDFD3F9B9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AdjustButton.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// AdjustButton window
class AdjustButton : public CButton
{
// Construction
public:
AdjustButton();
static int Nums;
static int Rows;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(AdjustButton)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
protected:
//}}AFX_VIRTUA
public:
void SetStyle(int nStyle=0,int nAspect=0);
virtual ~AdjustButton();
// Generated message map functions
protected:
//{{AFX_MSG(AdjustButton)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_Style,m_Aspect;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADJUSTBUTTON_H__F431CB00_6E5C_4D71_95DA_2CDBDFD3F9B9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -