📄 stylebutton.h
字号:
#if !defined(AFX_STYLEBUTTON_H__F49D68E7_FA3F_4CE0_A5BE_873144EBC225__INCLUDED_)
#define AFX_STYLEBUTTON_H__F49D68E7_FA3F_4CE0_A5BE_873144EBC225__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// stylebutton.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStyleButton window
class CStyleButton : public CButton
{
// Construction
public:
CStyleButton();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStyleButton)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
//}}AFX_VIRTUAL
// Implementation
public:
HCURSOR m_hCursor;
CSize m_IconSize;
HICON m_hIcon_Enable;
HICON m_hIcon_Active;
int m_nTColor_Enable;
int m_nTColor_Active;
int m_nBColor_Enable;
int m_nBColor_Active;
virtual ~CStyleButton();
// Generated message map functions
protected:
bool m_bCursorOn;
//{{AFX_MSG(CStyleButton)
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnCaptureChanged(CWnd *pWnd);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STYLEBUTTON_H__F49D68E7_FA3F_4CE0_A5BE_873144EBC225__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -