nbutton.h
来自「你用过<<中华诗词6000>>吗?那个是VF编写的,而我」· C头文件 代码 · 共 35 行
H
35 行
#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 + =
减小字号Ctrl + -
显示快捷键?