Prev Previous Post   Next Post Next
Old 1st August 2005, 14:24   #1
Satsuki
Junior Member
 
Join Date: Jul 2004
Posts: 30
Cutoms page backgound color error

Hello,

i've donne an installer witch is all black with white text and some control.
i also use a lot of custom section.

but i have a strange bug, when a am on a non custom page (mui page) and go back to previews page, the backgound ins't black anymore, it revert back to the nsis default color.
same bug when a have a custom page right after a mui page, the background is nsis default color and not blakc.
i'm not sure to be well understand (my crap english) so here's and exemple:

PHP Code:
...
Page custom CustomPagesimple
Page custom simpleinstallselect
!define MUI_PAGE_CUSTOMFUNCTION_SHOW "CompShowProc"
!insertmacro MUI_PAGE_COMPONENTS
Page custom CustomPageavance1
Page custom CustomPageavance2
... 
the first time "CustomPagesimple" is displayed it's all black with white text.
if i go to "CustomPagesimple" from "simpleinstallselect" (MUI button) there's no bug.
if i go to "simpleinstallselect" from MUI_PAGE_COMPONENTS the back is nsis default color and not black.
if i go to "CustomPageavance1" from MUI_PAGE_COMPONENTS the back is nsis default color and not black.
if i go to CustomPageavance2 from CustomPageavance1 it's all black with white text (no bug again).

in all those section i use the following command to make the background black:
PHP Code:
FindWindow $R0 "#32770" "" $HWNDPARENT
SetCtlColors $R0 FFFFFF 000000 
if someone as any idea to make the backuground black on all page in one command, or where is the bug, thanks.

++
Satsuki is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast 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