Page 1 of 1

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

Posted: Wed Jul 26, 2006 11:24 am
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

Posted: Wed Jul 26, 2006 5:05 pm
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.

Posted: Thu Jul 27, 2006 4:16 am
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.