Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 25th March 2010, 19:34   #1
Zilatica
Junior Member
 
Join Date: Mar 2010
Location: Austin, TX
Posts: 21
Set Header/Title of nsDialog

I've read the docs and the forums and looked at the MUI use within the sample license dialog. Here is what I found from said search:
Option a) !insertmacro MUI_HEADER_TEXT "Title" "Subtitle"
Option b)
;Top text
FindWindow $___REQ_PAGE "#32770" "" $HWNDPARENT
GetDlgItem $__TOP_TEXT $___REQ_PAGE 1006

;Top text
SendMessage $__TOP_TEXT ${WM_SETTEXT} 0 "STR:HEWWO"

None of which works. How can I get the top (not the actual window title bar) part of the dialog, where the white strip with icon is, to contain text similar to the license dialog's
"License Agreement"
"Please review the license terms before installing Sample."

I am using nsDialogs for my custom dialog.
Zilatica is offline   Reply With Quote
Old 25th March 2010, 19:36   #2
Zilatica
Junior Member
 
Join Date: Mar 2010
Location: Austin, TX
Posts: 21
Bah!

My bad, the
!insertmacro MUI_HEADER_TEXT "Title" "Subtitle"

works but you have to remember to include it prior to nsDialogs::Show

My bad!
Zilatica is offline   Reply With Quote
Reply
Go Back   Winamp 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