Need Hyperlink on Dialog
-
Any idea how to create a hyperlink on a dialog so that when I click on the link it would open a document. I know it can be done using a button but would prefer if someone would show me how to implement a hyperlink Kind Regards Caoimh
-
Any idea how to create a hyperlink on a dialog so that when I click on the link it would open a document. I know it can be done using a button but would prefer if someone would show me how to implement a hyperlink Kind Regards Caoimh
Set Notify and Owner Draw style to the button (do not use Static control, because Static cannot be owner-drawn) In draw routine, you should draw a blue underlined text Handle a BN_CLICKED of the control:
ShellExecute(NULL, _T("open"), _T("http://www.mff.cuni.cz"), NULL, NULL, SW_SHOWNORMAL);
Enjoy! Robert-Antonio "Science is a differerntial equation. Religion is a boundary condition."