Archive: Change the font size in a custom page


Change the font size in a custom page
Hi,
I have a custom page, based on an ini file:
[Field 1]
Type=Label
Text=my text
[Field 2]
Type=Text

How can I change the font size?

Thanks,
May


excerpt from NSIS Modern UI help:
Using InstallOptions for custom pages

Function FunctionName ;FunctionName defined with Page command

!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioFile.ini"
Pop $HWND ;HWND of dialog

GetDlgItem $DLGITEM $HWND 1200 ;1200 + Field number - 1

;$DLGITEM contains the HWND of the first field
CreateFont $FONT "Tahoma" 10 700
SendMessage $DLGITEM ${WM_SETFONT} $FONT 0

!insertmacro MUI_INSTALLOPTIONS_SHOW

FunctionEnd

see this thread for information sources:
http://forums.winamp.com/showthread....hreadid=255385