Skip to content
⌘ NSIS Forum Archive

Main window title bar text

3 posts

rsegal#

Main window title bar text

Is there a MUI define for setting the title bar of the main dialog window? I do have a way can do this using SendMessage as follows

SendMessage $HWNDPARENT ${WM_SETTEXT} 0 "STR:Hi I'm the Dialog Title!"

which works but I have to put this line for each page of the installer that I want to chage. I want to be able to set this text in one spot only if possible. I'm thinking there is already a define made up for this purpose I just can't find what that might be. From what I can tell MUI_PRODUCT concatenated with the word "Setup" is displayed on the title bar currently.
Afrow UK#

SubCaption /LANG=English 1 " - Install Dir"
SubCaption /LANG=English 2 " - Compiler Mode Options"
This sets e.g. "Baz Chat Installation - Install Dir"
To set the 1st part ("Baz Chat Installation") use:
Caption "Baz Chat Installation"
If you want say just one page saying "Hello jeff" and the other saying "Hello bobo" then set Caption "" and then use the SubCaptions to the full title.

-Stu