I would like to create a custom toolbar item in ArcEngine.

I add items like this

((AxToolbarControl)toolbarControl).AddItem( myCustomItem ) 

I need to know how to create a custom item in ArcEngine 10. I'm using C# and VS2010.

1 Answer 1


Load the ArcGIS project you're creating into Visual Studio 2010. Right-click your project (not your solution) in the Solution Exlorer and select "Add," and then select "New Item...".

Click the arrow next to ArcGIS in the list on the left or the Add New Item dialog box and then click on Extending ArcObjects. Select the item you want to create (Base Tool, in this case), and then click Add. Choose the "MapControl or PageLayoutControl" item in the list on the ArcGIS New Item Wizard Options dialog box (since you're using Engine).

You can then alter the command created however you see fit.

See here for further information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.