Skip to content
⌘ NSIS Forum Archive

Changing the Background color of Instfile page?

6 posts

robber98#

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. 🙂
Joost Verburg#
FindWindow $MYVAR "#32770" "" $HWNDPARENT

;$MYVAR contains the handle of the inner dialog
robber98#
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. 🙁
robber98#
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.