📄 link.h
字号:
/************************************************************************
* 文件名: Link.h
* 文件描述: 超级链接
* 创建人: 三峡大学 程红秀, 2004年12月26日
* 版本号: 1.0
************************************************************************/
#if !defined _HYPERLINK_H
#define _HYPERLINK_H
#if _MSC_VER >= 1000
#pragma once
#endif
class CLink : public CStatic
{
public:
CLink();
virtual ~CLink();
public:
void SetToolTipText(CString str);
void SetLinkCursor(HCURSOR hCursor);
void SetDefaultCursor();
//{{AFX_VIRTUAL(CLink)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
virtual BOOL DestroyWindow();
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
protected:
BOOL m_bOver;
HCURSOR m_hLinkCursor;
CToolTipCtrl m_ToolTip;
protected:
//{{AFX_MSG(CLink)
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -