FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
CAdUiHyperLink.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19class CDC;
20class CPoint;
21class CRect;
22class CWnd;
23template < typename Param1, typename Param2 > class StrTraitMFC_DLL;
24
26{
27public:
29
30public:
32 bool SetHyperLink( CStringW const &);
33 int SetHyperLinkStyle(unsigned long);
35 int SetToolTipText(wchar_t const *);
36 unsigned long GetHoverColor(void)const ;
37 unsigned long GetHyperLinkStyle(void)const ;
38 unsigned long GetLinkColor(void)const ;
39 unsigned long GetLinkVisitedColor(void)const ;
40 virtual ~CAdUiHyperLink(void);
41 virtual int PreTranslateMessage( tagMSG *);
42 void GetHyperLink( CStringW &)const ;
43 void SetHoverColor(unsigned long);
44 void SetLinkColor(unsigned long);
45 void SetLinkVisited(int);
46 void SetLinkVisitedColor(unsigned long);
47
48protected:
50 int HasHyperLinkStyle(unsigned long)const ;
51 int LoadLinkCursor(void);
52 int OnSetCursor( CWnd *,unsigned int,unsigned int);
53 int SetLinkCursor( CPoint const &);
54 long OnSetText(unsigned int,long);
55 //DECLARE_MESSAGE_MAP()
57 virtual const AFX_MSGMAP* GetMessageMap() const;
58 HBRUSH__ * CtlColor( CDC *,unsigned int);
59 virtual void PreSubclassWindow(void);
60 void OnDestroy(void);
61 void OnLButtonDown(unsigned int, CPoint);
62 void OnMouseMove(unsigned int, CPoint);
63
64};