How to use
See How to use ArcGIS samples for help on running the sample.
- Run the CreateNewToolbarMenu application.
- Open a map document.
- Click the Add Menu button on the RHS panel. A menu is added to the toolbar.
- Click the Add Sub Menu button. A submenu is added to the toolbar menu that was created in step 3.
If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.
| toolbarbean/CreateNewToolbarMenu.java | Sample source file. |
| Development licensing | Deployment licensing |
|---|---|
| Engine Developer Kit | Engine |
| ArcGIS for Desktop Basic | |
| ArcGIS for Desktop Standard | |
| ArcGIS for Desktop Advanced |