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.
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
I think what you are after is an IToolControl. See the documentation here:
IToolControl Interface
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.