📄 nbutton.h
字号:
#pragma once
// CNButton
class CNButton : public CButton
{
DECLARE_DYNAMIC(CNButton)
public:
CNButton(UINT nID = 0);
virtual ~CNButton();
protected:
CToolTipCtrl m_tip;
CBitmap m_bit;
UINT m_CurID;
int m_cx, m_cy;
int m_state;
int m_oldstate;
protected:
DECLARE_MESSAGE_MAP()
public:
void SetBitMap(UINT nID);
void UpdateTipText(LPCTSTR lpszText);
void SetTip(LPCTSTR lpszText);
void SetCursorID(UINT nID);
virtual void DrawItem(LPDRAWITEMSTRUCT /*lpDrawItemStruct*/);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
virtual BOOL PreTranslateMessage(MSG* pMsg);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -