Prev Previous Post   Next Post Next
Old 28th February 2007, 09:46   #1
Satsuki
Junior Member
 
Join Date: Jul 2004
Posts: 30
Question Combobox and SetCtlColors

hello,
in my installer i use some custom pages with colored control and colored text (mainly black background and green texts).
all works great, but i need some combobox in a new custom page and the text isn't green (remain black) (the other controls have green texts) and as soon as i click the combox, the combobox background switch from black to the default white color.

any idea on how to get the green text inside cobobox while the background remain black when clicked ?

here's my code:
PHP Code:
    Function intercust07
        
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "page02.ini"
            
Pop $HWND
                GetDlgItem $R0 $HWND 1200
                SetCtlColors $R0 00C000 000000
                GetDlgItem $R0 $HWND 1201
                SetCtlColors $R0 00C000 000000
                GetDlgItem $R0 $HWND 1202
                SetCtlColors $R0 00C000 000000
                GetDlgItem $R0 $HWND 1203
                SetCtlColors $R0 00C000 000000
                GetDlgItem $R0 $HWND 1204
                SetCtlColors $R0 00C000 000000 
                FindWindow $R0 
"#32770" "" $HWNDPARENT
                SetCtlColors $R0 00C000 000000
        
!insertmacro MUI_INSTALLOPTIONS_SHOW
            Pop $R0
FunctionEnd 
the combobox are controls 1200 and 1201

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