📄 xpbutton.h
字号:
#if !defined(AFX_XPBUTTON_H__45EE9451_CF13_11D6_A95B_5254AB5527AA__INCLUDED_)
#define AFX_XPBUTTON_H__45EE9451_CF13_11D6_A95B_5254AB5527AA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// XPButton.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CXPButton window
class CXPButton : public CButton
{
// Construction
public:
CXPButton();
BOOL m_MouseFlag; //标记鼠标是否移动到按钮上
// Attributes
public:
LOGFONT * lf;
CFont *m_Font;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CXPButton)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
public:
void ModifiColor(COLORREF color);
virtual ~CXPButton();
// Generated message map functions
protected:
//{{AFX_MSG(CXPButton)
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_XPBUTTON_H__45EE9451_CF13_11D6_A95B_5254AB5527AA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -