Sign in to follow this  
Followers 0
440LVB

I want a read-only combo box

3 posts in this topic

Hi there

Everything's in the title, do you know how to do?? I tried to put $ES_READONLY as an extended style, but nothing happens. Users can still modify the content of my combo box. Can you help me?

This is how I create the combo box:

$combo = GUICtrlCreateCombo ( " ", 60, 50, -1, -1, -1, $CBS_SORT+$ES_READONLY)
GUICtrlSetData(-1,"Gams|Matlab|Soft|Bidule")

$CBS_SORT doesn t work too, but it's not as important as the read only style

Thanks for help

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

$CBS_DROPDOWNLIST style

<{POST_SNAPBACK}>

OK thx for the style and the short delay for answer. It works.

It wasn't taken in count before because I changed extended styles and not styles. But I didn't know DROPDOWNLIST.

Edited by 440LVB

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  
Followers 0