Mercurial > vba-linux
diff src/win32/Hyperlink.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/Hyperlink.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,54 @@ 1.4 +#if !defined(AFX_HYPERLINK_H__BECEAB7D_31FB_4727_A42B_8732162EEBCC__INCLUDED_) 1.5 +#define AFX_HYPERLINK_H__BECEAB7D_31FB_4727_A42B_8732162EEBCC__INCLUDED_ 1.6 + 1.7 +#if _MSC_VER > 1000 1.8 +#pragma once 1.9 +#endif // _MSC_VER > 1000 1.10 +// Hyperlink.h : header file 1.11 +// 1.12 + 1.13 +///////////////////////////////////////////////////////////////////////////// 1.14 +// Hyperlink window 1.15 + 1.16 +class Hyperlink : public CStatic 1.17 +{ 1.18 +// Construction 1.19 +public: 1.20 + Hyperlink(); 1.21 + 1.22 +// Attributes 1.23 +public: 1.24 +// Operations 1.25 +public: 1.26 +// Overrides 1.27 + // ClassWizard generated virtual function overrides 1.28 + //{{AFX_VIRTUAL(Hyperlink) 1.29 +protected: 1.30 + virtual void PreSubclassWindow(); 1.31 + //}}AFX_VIRTUAL 1.32 + 1.33 +// Implementation 1.34 +public: 1.35 + bool m_over; 1.36 + HCURSOR m_cursor; 1.37 + afx_msg void OnClicked(); 1.38 + CFont m_underlineFont; 1.39 + virtual ~Hyperlink(); 1.40 + 1.41 + // Generated message map functions 1.42 +protected: 1.43 + //{{AFX_MSG(Hyperlink) 1.44 + afx_msg HBRUSH CtlColor(CDC*pDC, UINT nCtlColor); 1.45 + afx_msg BOOL OnEraseBkgnd(CDC*pDC); 1.46 + afx_msg void OnMouseMove(UINT nFlags, CPoint point); 1.47 + //}}AFX_MSG 1.48 + 1.49 + DECLARE_MESSAGE_MAP() 1.50 +}; 1.51 + 1.52 +///////////////////////////////////////////////////////////////////////////// 1.53 + 1.54 +//{{AFX_INSERT_LOCATION}} 1.55 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 1.56 + 1.57 +#endif // !defined(AFX_HYPERLINK_H__BECEAB7D_31FB_4727_A42B_8732162EEBCC__INCLUDED_)