1

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

lessj
  • 31
  • 3
  • What have you done so far? How are you getting the `msgbox()`? – Teepeemm Jun 12 '15 at 19:00
  • @Teepeemm, that's a pointless question if you know Inno Setup; `MsgBox` is a built-in function that displays a built-in message dialog which does not allow you to modify its size. Your close vote is not fair here, if that was yours; the question is clear (well, it asks just for code, but it's clear what is asked). – TLama Jun 12 '15 at 19:48

1 Answers1

1

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:

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992