Archive: Changing the Background color of Instfile page?


Changing the Background color of Instfile page?
Is there any way to change the color of the grey area? I tried to get the Handle ID of that area with Winspy++ but no luck.:(

Thanks in advance for any tips. :)


FindWindow $MYVAR "#32770" "" $HWNDPARENT

;$MYVAR contains the handle of the inner dialog


Thanks for reply Joost.

I tried:

FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R1 $R0 120X
SetCtlColors $R1 000000 FFFFFF

Where X is the number from 0 to 9. None of them works. :(


I also tried

FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R1 $R0 1006
SetCtlColors $R1 000000 FFFFFF

Which changed the background color of the area above the progress bar. However, I tried 1000 to 1020 and none of them change the background of that area.


It's the dialog itself, you don't have to use GetDlgItem.


It works! Thank you Joost! :D