Problems with the custom page coloration and picture insertion.
Hello,

In my installer I have 2 custom pages, I would like to color them, in my first custom page I wrote :


...
nsDialogs::Create /NOUNLOAD 1018
Pop $0

GetDlgItem $6 $HWNDPARENT 1 ; Get "Next" control handle
EnableWindow $6 0 ; disable "Next" control

GetDlgItem $7 $HWNDPARENT 1018
SetCtlColors $7 0xEDEDED 0xEDEDED
SetCtlColors $HWNDPARENT 0xEDEDED 0xEDEDED

# 1028 is the id of the branding text control
GetDlgItem $7 $HWNDPARENT 1028
SetCtlColors $7 0xEDEDED 0xEDEDED
...


FIRST

Visibly the line

SetCtlColors $HWNDPARENT 0xEDEDED 0xEDEDED

allows to color the window's outline but not 1018, and the command :

SetCtlColors $7 0xEDEDED 0xEDEDED

Desn't work, so I have a white installer's window with an ugly beige rectangle in themiddle that I can't color. Do you have any idea to help me ??

SECOND

The command :

# 1028 is the id of the branding text control
GetDlgItem $7 $HWNDPARENT 1028
SetCtlColors $7 0xEDEDED 0xEDEDED

allows me to color the branding text's background, but when I click on the back button to come back on this page, the color desappear and my branding text's background become beige again. How could I resolve it, I tried to include it in my function wiwh allow me to enable the next button when I click on the back button, but it doesn't work to the branding text's background color.

THIRD

In my second custom page, who comme really after the first, the SetCtlColors $HWNDPARENT 0xEDEDED 0xEDEDED works automatically, without any code to do it, but for a few moment, when I managed to color the entire first custom page (yes it worked for a moment and now it doesn't work anymore, without any change), the center of the window that I called 1018 too, stay beige. Why does this atttribute wasn't transfered on the second custom page while the first one was ?

the bigenning of the code of my second page is :


...
Function nsSelectNewFullCustomReuseManyBackup
Push $R0
Push $R1
nsDialogs::Create 1018
Call nsSelectInstallHandlers
...


FINALLY

Is it possible to insert a picture in a custom page with MUI2 ? If yes, how can I do that, I would like to insert it on the left almost like on the welcome page, but keeping the banner on the custom page.

Thank you for all your help.