Garmin Fleet Management Controller  2.19.0
CStaticLink.h
Go to the documentation of this file.
1 // CStaticLink 1997 Microsoft Systems Journal.
3 // If this program works, it was written by Paul DiLascia.
4 // If not, I don't know who wrote it.
6 #ifndef CStaticLink_H
7 #define CStaticLink_H
8 
9 //----------------------------------------------------------------------
15 //----------------------------------------------------------------------
16 class CStaticLink : public CStatic
17 {
18  DECLARE_DYNAMIC( CStaticLink )
19  DECLARE_MESSAGE_MAP()
20 
21 public:
22  CStaticLink();
23 
24  // you can change these any time:
25  COLORREF mUnvisitedColor;
26  COLORREF mVisitedColor;
27  BOOL mIsVisited;
28 
32  CString mLinkText;
33 
34 protected:
35  CFont mFont;
36 
37  // message handlers
38  afx_msg HBRUSH CtlColor
39  (
40  CDC * aDC,
41  UINT aCtlColor
42  );
43  afx_msg void OnClicked();
44 };
45 
46 #endif