linuxeli
18th April 2007 14:51 UTC
Large title in unpage confirm
Hi, I read in another post that to show a large title in welcome and finish page you can use
!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_FINISHPAGE_TITLE_3LINES
and it works fine for both Install and Uninstall, but I still have a problem with the large title in the following page:
!insertmacro MUI_UNPAGE_CONFIRM
any suggests? Thanks in advance
Comm@nder21
18th April 2007 17:40 UTC
this page has a fixed size of the title control.
you will need to either modify the ui resource files (nsis/contrib/UIs/) by yourself or resize the control with an appropriate SendMessage command in the show function of the page.
linuxeli
18th April 2007 19:08 UTC
Could you please give me an example of how can I resize the control with SendMessage ?
Afrow UK
18th April 2007 20:09 UTC
SendMessage cannot be used. You must call the SetWindowPos API with the System plugin.
http://msdn.microsoft.com/library/en...asp?frame=true
Try searching the forum for SetWindowPos.
Stu
linuxeli
18th April 2007 20:39 UTC
Thanks but I'd prefer to replace the automatic text build by the MUI_UNPAGE_CONFIRM. Do you know how can I change the text of the title with a string using a function?
linuxeli
19th April 2007 20:53 UTC
I want to replace the text of the title in a page with a shortest text instead of the automatic display. Any suggets?