📄 zgbutton.h
字号:
//ZgButton.h
#ifndef ZGBUTTON_H
#define ZGBUTTON_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ZgButton.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CZgButton window
class CZgButton : public CButton
{
// Construction
public:
CZgButton();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CZgButton)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CZgButton();
// Generated message map functions
protected:
void DrawRoundBorder(CDC *pDC, CRect rcBorder);
BOOL m_bTracking;
BOOL m_bOver;
BOOL m_bFocus;
BOOL m_bDown;
BOOL m_bDefault;
//{{AFX_MSG(CZgButton)
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
afx_msg LRESULT OnMouseLeave(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnMouseHover(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -