Archive: Change backgroundcolor of lower part of WELCOME_PAGE


Change backgroundcolor of lower part of WELCOME_PAGE
Hi together,
I just created an installer with the modern UI and I (or better: my company) likes a complete white background.
I was able to this for all pages, but not for the lower part of the WELCOME_PAGE with the "Next" and "Cancel" button. See screenshot.


I've tried the following:
!define MUI_BGCOLOR FFFFFF
!define MUI_INSTALLCOLORS "0xFFFFFF 0x000000"

!define MUI_PAGE_CUSTOMFUNCTION_SHOW whiteBackground
!insertmacro MUI_PAGE_WELCOME

function whiteBackground
FindWindow $1 "#32770" "" $HWNDPARENT
SetCtlColors $1 "" 0xFFFFFF
FunctionEnd

But testing the last with f.e. 0xFF0000 it shows me that this is just the surrounding label of the title and the welcome text. So I'm not able to get a window handle to this lower part of the screen. How do I do this?

Thanks for tips, Bernd


It's valid for all pages after the page where executed,

!define MUI_PAGE_CUSTOMFUNCTION_SHOW shwel
!insertmacro MUI_PAGE_WELCOME
.........
.........
function shwel
SetCtlColors $HWNDPARENT "" 0xFFFFFF
functionend

Originally posted by Red Wine
It's valid for all pages after the page where executed,
!define MUI_PAGE_CUSTOMFUNCTION_SHOW shwel
!insertmacro MUI_PAGE_WELCOME
.........
.........
function shwel
SetCtlColors $HWNDPARENT "" 0xFFFFFF
functionend
Thx, I had some FindWindow's too much ;-)

B.