Prev Previous Post   Next Post Next
Old 30th March 2003, 12:23   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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)

code:

!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
Afrow UK is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast 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