Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Chefbrenner

HTTP links in About Dialogs

This topic is 6228 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Folks! I have a simple question: How can I make a HTTP link in my About Dialog as it can be seen in almost any program? (I use Visual C++) Greetings, Chefbrenner Edited by - Chefbrenner on June 27, 2001 2:02:32 AM

Share this post


Link to post
Share on other sites
Advertisement
worst-case reply:
use a hyperlink object (they must exist, or making your own should be horibly easy) and create a dialog resource for your dialog, and display that

--Tr][aD--

Share this post


Link to post
Share on other sites
the links are made by using COM interfaces. i can explain it all to you exactly if you REALLY want to know.

Share this post


Link to post
Share on other sites
what i meant to say was the IHLink object

http://msdn.microsoft.com/library/default.asp?url=/workshop/misc/hlink/reference/IFaces/IHlink/IHlink.asp

Edited by - sarem on June 27, 2001 2:40:35 AM

Share this post


Link to post
Share on other sites
quote:
Original post by Chefbrenner
Yes, I REALLY want to know how

Thx,
Chefbrenner


You can take this with a grain of salt if I'm wrong, as I know VB (No Laughs please).
But, can't you put a label on that window, then have the mouseclick event call the shellexec api function passing the URL to that function?



B e S
It's Da BOMB Baby!!!
. o O ~
A little nonsense now and then,
is relished by the wisest men
~ O o .
-- Willy Wonka

edited for Clarity.

Edited by - wrenhal on June 27, 2001 5:48:07 PM

Share this post


Link to post
Share on other sites
Yeah.
The ShellExecute() is an easy way.

Create a Label on the dialog and make sure the "Has Notify" is checked.
Then when that event is called:
  
ShellExecute(0, "open", "www.omf.com", "", "", 0);

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!