Jump to content
Sign in to follow this  
Angel

GUI_ACCEPTFILES in combo boxes

Recommended Posts

Angel

Hi,

It seems that the GUI_ACCEPTFILES style does not currently work with combo boxes, even if the compo style is CBS_DROPDOWN instead of CBS_DROPDOWNLIST.

Ad in CBS_DROPDOWN mode the combo basically behaves as an edit box, I think that it would make a lot of sense to make GUI_ACCEPTFILES work with combo boxes too.

Could that be done?

Thanks!

Angel

Share this post


Link to post
Share on other sites
jpm

drag&drop only work with control that can have input change so Combo it is not of this classes just selection possible :)

Share this post


Link to post
Share on other sites
Angel

drag&drop only work with control that can have input change so Combo it is not of this classes just selection possible :)

<{POST_SNAPBACK}>

Actually _it is_ possible to change (by typing) the text in the combo box. To do so you must change the style from CBS_DROPDOWNLIST to CBS_DROPDOWN. If found out about this on the AutoIt help file (styles section).

So in theory it should be possible to do (or at least it looks like it!)

Angel

Share this post


Link to post
Share on other sites
therks

Yeah I wanted to do something similar myself. I made a recreation of the Windows Run dialog using a combo box, and wanted to be able to drag and drop files into it, but it wasn't possible.

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.