Jump to content
Sign in to follow this  
lsakizada

Coloring combobox items?

Recommended Posts

lsakizada

How to color combobox items?

if doing as bellow code then its colored just the item on focus.

$hCombo = GUICtrlCreateCombo("", 0, 445, 240, 80,BitOR($CBS_DROPDOWN,$CBS_UPPERCASE,$CBS_DROPDOWNLIST , $CBS_SORT , $CBS_AUTOHSCROLL))
GUICtrlSetBkColor(-1, 0xEDF3FE)
GUICtrlSetColor(-1, 0x003D79)
GUICtrlSetFont(-1, -1, 800)
GUICtrlSetResizing(-1, $GUI_DOCKLEFT + $GUI_DOCKBOTTOM + $GUI_DOCKHEIGHT + $GUI_DOCKRIGHT)

Be Green Now or Never (BGNN)!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×