Opening a dialog thru a button

Got a problem you cannot solve? Try here.
Post Reply
Treoxx
Posts: 24
Joined: Fri Jan 27, 2006 6:29 am

Opening a dialog thru a button

Post by Treoxx »

Is it possible to open a dialog by an button? (like the browse button)

I've tried a lot but did not find any solution.

Thanks!
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Please take a look at the CD Autorun sample which illustrates how to custom-process clicks on dialog buttons. Note that you cannot nest dialogs, however if you wish to show a file open dialog etc, check on the plug-ins section of this forum - there is a plug-in there that does exactly that, contributed by our MVPs.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Re: Opening a dialog thru a button

Post by Gizm0 »

Treoxx wrote:Is it possible to open a dialog by an button? (like the browse button)

I've tried a lot but did not find any solution.

Thanks!
Of course you can!
Please use the Display Dialog command.There is a good example also on the MSDN Article, explaining how can you use buttons on your dialogs.

If you need further assistance, i can provide consulting services and create the setup for you, at very a reasonable fee.Feel free to contact me at pkefal (at) installaware (dot) com.

Thank you!
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
Post Reply