Programming Tips - How can I insert a hyperlink control in a dialog with Visual Studio 2005?

Date: 2010apr5 Product: Microsoft Visual Studio 2005 Q. How can I insert a hyperlink control in a dialog with Visual Studio 2005? A. Visual Studio 2005 still doesn't support. If you are using MFC use this class: http://www.codeproject.com/KB/miscctrl/hyperlink.aspx You are using plain win32 do: - Request common controls 6 in your manifest - Call InitCommonControlsEx() with ICC_LINK_CLASS - In your .rc file:
CONTROL "<a href=http://example.com>Hello</a>",IDC_MY_LINK,"syslink", WS_TABSTOP,10,100,361,8
If you are using MFC and later version of Visual Studio you can just drag and drip the Syslink control into your dialog.