Jump to content
Sign in to follow this  
sublimnl

GUICtrlCreateCombo...I don't want to allow edits

Recommended Posts

sublimnl

When creating a ComboBox I am able to edit the value that is currently selected in the box. I have looked ove rthe styles and extended styles but I can't figure out how to disallow editing of selection. Surely I must be overlooking something. Help!

Share this post


Link to post
Share on other sites
sublimnl

GUICtrlCreateCombo ("item1", 10,10,120,120,$CBS_DROPDOWNLIST) ; create first item
GUICtrlSetData(-1,"item2|item3","item3") ; add other item snd set a new default

Thank you!

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  

×