Hito
I Need help with my editable combobox
I have change the combobox typ Dropdowncombo
Now have i no idea how i can add this text to the combobox
exmample:
(http://i.msdn.microsoft.com/dynimg/IC14929.png)
Can you help me please
i don't have a good answer for you, but i do know the Run command uses an MRU list that is stored in the registry
many other windows components do the same, such as Search, etc
I think you need to create instance of IAutoComplete (http://msdn.microsoft.com/en-us/library/bb776292(VS.85).aspx) interface (with CoCreateInstance), implement IEnumString derieved class, and finally call Init and Enable methods in the IAutoComplete object, providing editbox handle and your string enumerator class.
Call QueryInterface for IAutoComplete2, to change or query additional options.
If you only need to display URL history and/or local files and/or recently used documents, use SHAutoComplete function (still including CoInitialize).
For both cases you need a handle to edit control.
ragdog,
Look at:
CBN_EDITCHANGE
CBN_EDITUPDATE
to catch when the edit is finished and then use:
CB_ADDSTRING
to add the new entry.
hth,
farrier
Thanks
I try it! this works with a editable editbox ?
Greets,
Thanks Is solved with Antonis EzPromt example by Winasm.net
This works without CBN -Massages