Font Size Problem
Hello,
I'm using ExperienceUI and having trouble changing the font of a InstallOptions Field.
My Fields are displayed as following in my ini_file
[Settings]
NumFields=2
[Field 1]
Type=label
Text=Enter your CD Key in the box below. (CD Key found on CD Belt)
Left=0
Right=-1
Top=0
Bottom=10
[Field 2]
Type=text
Left=0
Right=75
Top=20
Bottom=33
State=
I have a custom page setup, with a custom load function...this is my load function
;This is suppose to be same as installoptions::initdialog
!insertmacro XPUI_INSTALLOPTIONS_INITDIALOG "REG.ini"
; suppose to put the Handle of Field 1 in $R1
ReadINIStr $R1 "REG.ini" "Field 1" "HWND"
;Create the font that i want, store it in $R2
CreateFont $R2 "Tahoma" "26" "500"
;Send the WM_SETFONT Message to the Handle of the label I need changed...(for some reason NSIS won't recognize WM_SETFONT...do I need to include winuser.h or something?)
SendMessage $R1 0x0030 $R2 0
!insertmacro XPUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "$(TEXT_IO_SUBTITLE)"
!insertmacro XPUI_INSTALLOPTIONS_SHOW
!insertmacro XPUI_INSTALLOPTIONS_DISPLAY "REG.ini"
I'm not quite sure what i'm doing wrong...but nothing I do seems to change the font. I'm guessing it probably has something to do with XPUI?...I've toggled using the InstallOptions::show, and the InstallOptions::Display..it seems to make no difference..
Any help would be appreciated.
Thanks