Archived

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

SirKnight

making a custom IE button goto a URL

Recommended Posts

SirKnight    316
If I made a custom addon button to the IE toolbar how can I make it so that when it''s clicked, IE will go to a specified URL address, either in the same IE windows or open a new one? I have seen other programs do this, like when you click this toolbar button, it goes to the companies website or whatever. Thanks.

Share this post


Link to post
Share on other sites
BlueDev    126
I believe it is a code that looks like this:

// On button press
ShellExecute( NULL, "open", "http://www.bluedev.net", NULL, NULL, SW_SHOW );

Hope this helps.

Share this post


Link to post
Share on other sites