xpbutton.h
来自「我们的网管程序的后台软件,主要是网络方面的内容.」· C头文件 代码 · 共 54 行
H
54 行
#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 + =
减小字号Ctrl + -
显示快捷键?