Archive: MUI header title color


MUI header title color
Not sure if this was asked earlier. I'm trying to change header title text color to white (while keeping subtitle black, I have underlying header image), but so far I was out of luck. Stuck trying to figure out how to change MUI dialog elements like that. Thanks.


Set MUI_PAGE_CUSTOMFUNCTION_PRE define before inserting first page macro.

!define MUI_PAGE_CUSTOMFUNCTION_PRE "changecolor"

And use following code to change color:
Function "changecolor"
GetDlgItem $r3 $HWNDPARENT 1037
SetCtlColors $r3 0xFFFFFF "${bg_color}"
FunctionEnd

Thanks a lot!


Hello glory_man
i hope ur still around
i also would like to ask the same question regarding the text color of header
im trying with,

Function "changecolor"
GetDlgItem $r3 $HWNDPARENT 1037
SetCtlColors $r3 0xFFFFFF transparent
GetDlgItem $r3 $HWNDPARENT 1038
SetCtlColors $r3 0xFFFFFF transparent
Function End

where, i defined this before the page macro

!define MUI_PAGE_CUSTOMFUNCTION_PRE "changecolor"

and,

!define MUI_UNPAGE_CUSTOMFUNCTION_PRE "changecolor"

for uninstall page.

BUT, i dont know why, it only applies to install pages only, not with the uninstall page
Hope can get some idea from u, or anyone else who is willing to help me
thank you guys!


BUT, i dont know why, it only applies to install pages only, not with the uninstall page
Hope can get some idea from u, or anyone else who is willing to help me
1st place you'd find help regarding to your script is NSIS documentation, for instance, you may want to read about functions in general, and uninstaller functions prefix.