I am stuck.... I am developing an ArcEngine MapControl application and I want to add a combobox to the toolbarcontrol. Something I assumed should be relatively straightforward. I have tried developing a custom control that implements ICommand and I've tried creating a BaseCommand that implements IComboBox. I just can't seem to hook it all up so that it displays anything but the Command button. Any pointers or samples would be appreciated.
I think what you are after is an IToolControl. See the documentation here:
Yes.... that was it exactly. Thanks.
Create a BaseCommand
Implement IToolControl
Instantiate a ComboBox in the BaseCommand.New()
Add hWnd = ComboBox.Handle.ToInt32 in the Get of the IToolControl.hWnd property