Hyperlink Classes

COXStaticHyperLink implements a static control that's a hyperlink to any file on your desktop or web. E.g., you can use it in dialog boxes to create hyperlinks to web sites. When clicked, opens the file/URL 
COXStaticHyperLink is based on COXStatic class so you can use all its functions to define control's appearance the way you want. Of course there were added some new features to provide functionality that similar to hyper link on web page. 
Every COXStaticHyperLink have associated COXHyperLinkAction that will be executed if user clicks mouse left button when it's over control's window. By default COXHyperLinkAction operation is set to "open". 

COXStaticHyperLink could be in two state: unvisited and visited (like common hyperlink). Control's state changes in result of user action (left button click) but you can change it programmatically too.

To differentiate COXStaticHyperLink from other CStatic controls we use special cursor. By default we use "hand cursor" that could be found in "OXBitmapButton.rc" file (supplied with the Ultimate Toolbox). So, you have to include reference to "OXBitmapButton.rc" resource in the resource file of your application. Of course you can set whatever cursor you need

To simplify process of using COXStaticHyperLink object you can use window text as COXHyperLinkAction::m_sFile.

At the moment 6 type of actions are defined: 
1.	None - use this type if you need functionality this control provide but don't want to invoke any action if user clicks on the control.

2.	Userdefined - use this type if you want to define your own action that should be taken when a hyperlink is activated. In that case you have to set callback message ID and handle to the recipient window to the corresponding COXHyperLinkAction object. In your application you have to define unique message ID.

3.	Open - use this type if you want to open the file specified by the COXHyperLinkAction::m_sFile parameter. The file can be an executable file, shortcut or document file. It can also be a folder. Use this action if you want to open the website specified by m_sFile. Use this action if you want to send an e-mail: you can do that setting m_sFile to "mailto:address@you.need".

4.	Print - use this type if you want to print the file specified by the COXHyperLinkAction::m_sFile parameter. The file should be a document file.

5.	Explore - use this type if you want to explore the folder specified by the COXHyperLinkAction::m_sFile parameter. 

6.	Email - use this type if you want to send a message to a recipient specified by the COXHyperLinkAction::m_sFile parameter. Defined only for convinience purposes, eventually calls Open action.