How to add a clickable link to a website on a dialog?

Got a problem you cannot solve? Try here.
Post Reply
stebi
Posts: 14
Joined: Wed Jul 26, 2006 11:16 am

How to add a clickable link to a website on a dialog?

Post by stebi »

Hi,

How do I add a clickable link-label on a dialog? It should open a website when clicking on it. Or if this is not possible: How to open a website clicking on a button on this dialog?

Regards,
Steffen
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Hi Steffen!

Please look at the CD Autorun template. It has a custom dialog which does exact this, and comes with the MSIcode script that properly handles the click.

The idea is to insert a clickable text label on your form, and process its clicks in the MSIcode script. The template uses buttons, but if you drop a text control on your dialog, and hook it up in the same way the button is hooked up, you'll have exactly what you want.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
stebi
Posts: 14
Joined: Wed Jul 26, 2006 11:16 am

Post by stebi »

Thanks it works. It was not easy to find out that the control name is the return value of the dialog, because the case changed to uppercase. But know it works.
Post Reply