<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS 10: Add Group Separator to CommandBar in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525862#M14182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bernd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You create the separators in the XML section, see highlighted code below which I have copied out on an existing project of mine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Menus&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Menu id="GeoData_Institute_EMU_Side_Scan_Editing_Toolbar_Conversion" caption="Processing Tasks" isRootMenu="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Items&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnCreatePoints" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnCreatePolylines" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnCreatePolygons" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnNearestModel" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnMerge"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnSymbology" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true" &lt;/STRONG&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnJoinTable" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnExport" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Items&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Menu&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Menus&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Toolbars&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Toolbar id="GeoData_Institute_EMU_Side_Scan_Editing_Toolbar_EMU_Sidescan_Editing" caption="EMU Anomaly Editing Toolbar" showInitially="false"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Items&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Menu refID="GeoData_Institute_EMU_Side_Scan_Editing_Toolbar_Conversion" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="esriArcMapUI.SelectFeaturesTool" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="esriControls.ControlsMapIdentifyTool" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="esriArcMapUI.HyperlinkTool" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnGroupPoints" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnGroupPolylines" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnGroupPolygons" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnDelete" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnHelp" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Items&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Toolbar&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Toolbars&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ArcMap&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2011 13:00:23 GMT</pubDate>
    <dc:creator>DuncanHornby</dc:creator>
    <dc:date>2011-06-28T13:00:23Z</dc:date>
    <item>
      <title>ArcGIS 10: Add Group Separator to CommandBar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525861#M14181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem migrating code to version 10, which defines a custom commandbar where some group separators are placed using the "BeginGroup ();" command in the Commandbars class. Now custom commandbars are defined in XML, no code behind class available. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please can You give me some directions how I can insert some group separators into a custom commandbar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd Nierula&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 06:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525861#M14181</guid>
      <dc:creator>BerndNierula</dc:creator>
      <dc:date>2011-06-28T06:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10: Add Group Separator to CommandBar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525862#M14182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bernd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You create the separators in the XML section, see highlighted code below which I have copied out on an existing project of mine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Menus&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Menu id="GeoData_Institute_EMU_Side_Scan_Editing_Toolbar_Conversion" caption="Processing Tasks" isRootMenu="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Items&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnCreatePoints" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnCreatePolylines" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnCreatePolygons" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnNearestModel" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnMerge"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnSymbology" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true" &lt;/STRONG&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnJoinTable" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnExport" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Items&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Menu&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Menus&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Toolbars&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Toolbar id="GeoData_Institute_EMU_Side_Scan_Editing_Toolbar_EMU_Sidescan_Editing" caption="EMU Anomaly Editing Toolbar" showInitially="false"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Items&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Menu refID="GeoData_Institute_EMU_Side_Scan_Editing_Toolbar_Conversion" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="esriArcMapUI.SelectFeaturesTool" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="esriControls.ControlsMapIdentifyTool" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="esriArcMapUI.HyperlinkTool" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnGroupPoints" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnGroupPolylines" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnGroupPolygons" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnDelete" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button refID="GeoData_Institute_EMUTool_btnHelp" &lt;/SPAN&gt;&lt;STRONG&gt;separator="true"&lt;/STRONG&gt;&lt;SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Items&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Toolbar&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Toolbars&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/ArcMap&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 13:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525862#M14182</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2011-06-28T13:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10: Add Group Separator to CommandBar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525863#M14183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Duncan&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You for your reply. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I don't define the Toolbar in the XML, but I add Tools and commands programmatically using IcommandBar.Add (). Unfortunately at this level I cannot find any AddSeparator () command..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any advice on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 13:48:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525863#M14183</guid>
      <dc:creator>BerndNierula</dc:creator>
      <dc:date>2011-06-30T13:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10: Add Group Separator to CommandBar</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525864#M14184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bernd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the help the Add method on IcommandBar is adding an object of type ICommandItem which has a property &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Group_Property/00230000007m000000/"&gt;Group&lt;/A&gt;&lt;SPAN&gt; that creates the separator. I don't think you simply add a separator you say if the item is the start of a new group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 14:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-add-group-separator-to-commandbar/m-p/525864#M14184</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2011-06-30T14:04:43Z</dc:date>
    </item>
  </channel>
</rss>

