Archive: Set Header/Title of nsDialog


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.


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!