Vista introduced the new Common Item Dialogs for opening and saving files that supersede the old Common File Dialogs. Custom controls can be added by utilizing the simple IFileDialogCustomize interface. One of them is a standard ComboBox
which is non-editable. Is there any way to create an editable ComboBox
or modify an existing one (by adding the CBS_DROPDOWN
style)?
Unfortunately, you can't. There is no guarantee that the controls you add with IFileDialogCustomize
are Win32 controls. (And in fact, I believe they aren't.) Since they aren't Win32 control, there's nothing to set the CBS_DROPDOWN
style on. Sorry.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With