Jump to content
Sign in to follow this  

I want a read-only combo box

Recommended Posts


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)

$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



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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.