Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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. Thanks.

share|improve this question
up vote 4 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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