Bansaw
19th July 2010 21:47 UTC
changing the TITLE of a custom page...?
I'm creating a custom page with nsDialogs.
How do I change the Title of that page? I have looked at the docs etc and there are lines that change the label, and some text but I can't find where to change the title.
thanks,,
Animaether
19th July 2010 22:07 UTC
which part are you referring to as 'the title'?
If you are using Modern UI, there's two lines above your custom page's control - the header and subheader. You can change these using:
!define MUI_PAGE_HEADER_TEXT "text"
!define MUI_PAGE_HEADER_SUBTEXT "text"
If you are referring to the title / caption of the window itself, you can set it when the paqe is initialized using:
Page Custom creator_function leave_function "Caption Here"
Note that "Caption Here" directly follows the name of the installer, so you might use e.g. " - Caption here" to make it look better.
You can also change the caption at run-time (e.g. if something happens on the page that requires you to change the caption). See:
http://nsis.sourceforge.net/Change_c...ler_at_runtime
Wizou
20th July 2010 10:01 UTC
Bansaw, did you not ask the same question two days ago ?