Skip to content
⌘ NSIS Forum Archive

Making the text bold...

2 posts

Afrow UK#

Making the text bold...

I'm using the macro from Modern UI to add the Text and SubText to my custom pages (without using Modern UI)


!macro MUI_HEADER_TEXT TEXT SUBTEXT
GetDlgItem $0 $HWNDPARENT 1037
SendMessage $0 ${WM_SETTEXT} 0 "STR:${TEXT}"
GetDlgItem $0 $HWNDPARENT 1038
SendMessage $0 ${WM_SETTEXT} 0 "STR:${SUBTEXT}"
!macroend

Function CustomPage1
!insertmacro MUI_HEADER_TEXT "Logging Options" " Please change settings accordingly"

InstallOptions::dialog "$EXEDIR\settings.ini"
FunctionEnd
How do I get the Text piece to be bold like done with Modern UI?

-Stuart