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 have Windows Forms project with ArcObjects framework.

I have already added axMapControl1 to the form. enter image description here

The question is How can I add a standard toolbar to the form and link it with axMapControl1 ?

Like this:

enter image description here

Is there any standard toolbar control in the ArcObjects or should make it by myself?

share|improve this question
Have you gone through the tutorial Building a map viewing application using the ArcGIS Engine controls? – blah238 Aug 20 '12 at 21:19

You need to add the ArcGIS Engine Controls to your Visual Studio toolbox.

You can do this by:

  1. On the Toolbox, click ArcGIS Windows Forms. The ArcGIS Engine controls appear. If there is no ArcGIS Windows Forms, right-click the Toolbox, then click Choose Items.
  2. On the Choose Toolbox Items dialog box, click the .NET Framework Components tab and select AxLicenseControl, AxMapControl, AxPageLayoutControl, AxTOCControl, and AxToolbarControl, then click OK. The controls appear in the Toolbox. See the following screen shot:

    enter image description here

Note: Steps 1 and 2 above are taken directly from the following tutorial. (See steps 3 and 4.)

From there, it is simply a matter of drag n' drop. The standard toolbar you're looking for is 'ToolbarControl' as listed in the above image. You will have to reference some libraries and associate the controls with eachother, but the following tutorial will help you there.

share|improve this answer

Since this map command already exist you can just use the UID value and open the toolbar, see example code below:

ICommandBar pCmdBar; 

//Create two new UID objects from UID class

UID pUID = new UID();

UID pCommandUID=new UID(); 

//pUID value is ArcMap Standard ToolBar UID Value  taken from here

pUID.Value = “{5DEB1DB8-C2A9-11D1-B9A2-080009EE4E51}”; 

pCmdBar= ICommandBar)m_application.Document.CommandBars.Find(pUID, false, false); 
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.