How can I increase the width of a msgbox() in inno setup

454 views Asked by At

Or should have to create my own message box? If so any sample code please

Ok, so it is not possible. I will have to do my own msgbox function. Should I use a TForm, Tmemo or Tpannel? How can I have the box hight auto adjustable? If any one has some sample code I could just start with, I would appreciate. Thanks

1

There are 1 answers

0
Martin Prikryl On

You cannot increase width of message box in Inno Setup.

You have to implement your own dialog.

Start with creating TForm (preferably using CreateCustomForm function), add TLabel to it along with few TButton's. Size all elements properly. At the end call TForm.ShowModal.

The code required is far too long to be asked for here. If you have specific problems, when implementing it, ask separate questions.

See few examples of building a custom form: