AnsweredAssumed Answered

Add UserControl to Add-In Toolbar

Question asked by SamuelHenderson on Nov 13, 2014

Hello everyone,

 

I'm porting an ArcMap 10.0 Extension which was made using the old COM Interop stuff (Inheriting from BaseTool and ICommand stuff) to an ArcMap 10.2 Add-In. I seem to be stuck on porting one item in particular:

 

In the old extension there was a custom IToolControl which was used to display an image on the Toolbar (the picture was actually inside an imageContainer inside a custom UserControl).

Toolbar help.png

 

How do I put that image in my ArcMap 10.2 Add-In Toolbar?   I'm pretty sure a class that implements IBaseTool and IToolControl wouldn't be usable in an Add-In right?  Isn't the stuff in ESRI.ArcGIS.ADF.BaseClasses deprecated anyways?

Outcomes