PDA

View Full Version : BGCOLOR reset after click on back


pozbremser
6th September 2007, 15:30
Hi,

I use SetCtlColors for change of backgroundcolor of Welcome page:

!define MUI_PAGE_CUSTOMFUNCTION_SHOW wel_show
!insertmacro MUI_PAGE_WELCOME

Function wel_show
FindWindow $1 "#32770" "" $HWNDPARENT
SetCtlColors $1 '' 0x000000
FunctionEnd

after click on next> and then on <back bgcolor is unchanged.
how can I fix it?

Thanks!

Joel
6th September 2007, 18:07
Why not use $MUI_HWND like say in the docs of the MUI

pozbremser
6th September 2007, 18:30
Thanks King,
for the direction, where I can search.
I try it.

Joel
6th September 2007, 22:43
Go to here (http://nsis.sourceforge.net/Docs/Modern%20UI/Readme.html) and later scroll down to Custom functions.