Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 6th September 2007, 15:30   #1
pozbremser
Member
 
Join Date: Mar 2007
Posts: 68
BGCOLOR reset after click on back

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!
pozbremser is offline   Reply With Quote
Old 6th September 2007, 18:07   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
Why not use $MUI_HWND like say in the docs of the MUI


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 6th September 2007, 18:30   #3
pozbremser
Member
 
Join Date: Mar 2007
Posts: 68
Thanks King,
for the direction, where I can search.
I try it.
pozbremser is offline   Reply With Quote
Old 6th September 2007, 22:43   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
Go to here and later scroll down to Custom functions.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump