View Single Post
Old 20th April 2007, 13:59  
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
To set the color of the combo box drop down list, use the following.
code:
FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $1 $0 1017
SetCtlColors $1 00ff00 ff0000
System::Call '*(i 52, i, i, i, i, i, i, i, i, i, i, i, i 0) i .r0'
System::Call 'user32::GetComboBoxInfo(i r1, i r0)'
System::Call '*$0(i, i, i, i, i, i, i, i, i, i, i, i, i .r1)'
System::Free $0
SetCtlColors $1 00ff00 ff0000

As for the text color of the group box title, that only works when not using XP themes. See the following thread:

http://forums.winamp.com/showthread....color+groupbox

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote