Objective Toolkit : Chapter 26 The Hyperlink Classes
Chapter 26 The Hyperlink Classes
Overview
The Objective Toolkit hyperlink classes provide a convenient way to add point-and-click navigation to conventional non-browser enabled applications. These classes, SECHyperlink and SECRichHyperlink, derive from ATL's CWindowImpl base and can be added to almost any ATL/MFC application. SECHyperlink is a lightweight implementation and provides a single static line containing the hyperlink. SECRichHyperlink, on the other hand, superclasses the Win32 rich edit control, thus providing enhanced hyperlink display options, including a delimiter option for hot-text areas.
The SECHyperlink and SECRichHyperlink classes may be used for providing navigation links to standard web resources (http://www.roguewave.com), e-mail resources (mailto:someone@somewhere.com), FTP resources, and registered document types (*.doc, *.xls).
NOTE >> To invoke the link, SECHyperlink and SECRichHyperlink use the Win32::ShellExecute() function, and hence usage of these components is constrained by the limitations of the API call.
 
Figure 175 – Example Hyperlink Dialog