-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHiperLink.h
59 lines (51 loc) · 1.52 KB
/
HiperLink.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//HiperLink.H
#ifndef __HYPERLINK_H__
#define __HYPERLINK_H__
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CHyperLink window
class AFX_EXT_CLASS CHyperLink : public CStatic
{
// Construction/destruction
public:
CHyperLink();
virtual ~CHyperLink();
// Attributes
public:
CString m_strWebsite;
// Operations
public:
BOOL SetCursor(HCURSOR hCursor);
void SetInfo(LPTSTR sMailAddr,LPTSTR sName, LPTSTR sBadTips);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHyperLink)
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Protected attributes
protected:
COLORREF m_crLinkColour;
COLORREF m_crHoverColour;
BOOL m_bOverControl;
HCURSOR m_hLinkCursor;
CFont m_Font;
CString m_MailAddr;
CString m_ShowName;
CString m_BadTips;
// Generated message map functions
protected:
//{{AFX_MSG(CHyperLink)
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
afx_msg void OnClicked();
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif