Old 18th April 2007, 13:51   #1
linuxeli
Junior Member
 
Join Date: Apr 2007
Posts: 4
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
linuxeli is offline   Reply With Quote
Old 18th April 2007, 16:40   #2
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
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.
Comm@nder21 is offline   Reply With Quote
Old 18th April 2007, 18:08   #3
linuxeli
Junior Member
 
Join Date: Apr 2007
Posts: 4
Could you please give me an example of how can I resize the control with SendMessage ?
linuxeli is offline   Reply With Quote
Old 18th April 2007, 19:09   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 18th April 2007, 19:39   #5
linuxeli
Junior Member
 
Join Date: Apr 2007
Posts: 4
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 is offline   Reply With Quote
Old 19th April 2007, 19:53   #6
linuxeli
Junior Member
 
Join Date: Apr 2007
Posts: 4
I want to replace the text of the title in a page with a shortest text instead of the automatic display. Any suggets?
linuxeli is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump