I am using the CComboBoxEx control in MFC to implement an address box for a browser application which shows the address and the related site icon.
As you may know a CCo开发者_如何学GomboBox (DropDownList style) only selects properly by typing if you don\'t let it autosort it\'s content.Here an example of what i mean:
I see that you can enable/disable using the EnableWindow metho开发者_StackOverflow中文版d, but how do I get it\'s current state?Use IsWindowEnabled.
Once a user types something in to my CComboBox (within a CDialog sub开发者_如何学Cclass) and presses Enter, I would like to add what they\'ve written to the list of options, and do some other handling
I have a CListCtrl class and at the moment when a user selects one of the sub items I am displaying a CComboBox over the subitem which the user can then make a selection from.