link.h

来自「该系统要求建立某小区物业管理系统」· C头文件 代码 · 共 52 行

H
52
字号
/************************************************************************ 
* 文件名:    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 + =
减小字号Ctrl + -
显示快捷键?