Treewyrm
24th November 2006 12:52 UTC
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.
glory_man
24th November 2006 14:12 UTC
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
Treewyrm
24th November 2006 16:28 UTC
Thanks a lot!
Takeshi
31st January 2007 06:37 UTC
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!
Red Wine
31st January 2007 07:18 UTC
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.