Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Convert Static Text to Hyperlink

Status
Not open for further replies.

jerijeri

Programmer
Joined
Sep 11, 2002
Messages
33
Location
CA
I'd link to have a hyperlink on one of my dialog forms. I can hyperlink to the site using a button, but would like to have the domain url appear as a clickable link.

Is it possible to do this in Visual C++ 6.0? If so, are there any code samples available?


Thanks,

Jer
 
Quick and easy way to open a link the users default browser:


int pHinst = (int)ShellExecute(NULL,
"open",
" // link
NULL,
NULL,
SW_SHOWNORMAL);


Cheers,

Brother C
 
...which is exactly what CHyperlinkStatic does.

/Per

if (typos) cout << &quot;My fingers are faster than my brain. Sorry for the typos.&quot;;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top