Commandbar types.
Constant | Value | Description |
---|---|---|
esriCmdBarTypeToolbar | 0 | Toolbar commandbar type. |
esriCmdBarTypeMenu | 1 | Menu commandbar type. |
esriCmdBarTypeShortcutMenu | 2 | Context menu commandbar type. |
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
Use the esriCmdBarType enumeration with the ICommandBars::Create method or the IToolControl::OnDrop method.
esriCmdBarTypeToolbar Command bar type is a toolbar.
esriCmdBarTypeMenu Command bar type is a menu.
esriCmdBarTypeShortcutMenu Command bar type is a shortcut menu.
Note: Do not use the esriCmdBarTypeMenu enumeration with the ICommandBars::Create method to create a new menu. You should use the ICommandBar::CreateMenu method instead.
esriCmdBarTypeToolbar Command bar type is a toolbar.
esriCmdBarTypeMenu Command bar type is a menu.
esriCmdBarTypeShortcutMenu Command bar type is a shortcut menu.
Note: Do not use the esriCmdBarTypeMenu enumeration with the ICommandBars::Create method to create a new menu. You should use the ICommandBar::CreateMenu method instead.
See Also
ICommandBars.Create Method | IToolControl.OnDrop Method