<?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: Data View Context Menu GUID and Name in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/data-view-context-menu-guid-and-name/m-p/563523#M15188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you're trying to customize the menu then I'm assuming that you're trying to get a reference to the menu so you can add something to it.&amp;nbsp; If that's the case then you don't need the name.&amp;nbsp; The GUID will work just fine.&amp;nbsp; Also, if you have the GUID of a class you can always look it up in the system registry.&amp;nbsp; The class name according to the registry is esriArcMapUI.MapViewCommandsContextMenu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Dim uid As New UID
uid.Value = "{3846A5B5-D3F8-44CB-BFA3-A5C30F4E535F}"
Dim commandItem As ICommandItem = application.Document.CommandBars.Find(uid)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 00:17:24 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2021-12-12T00:17:24Z</dc:date>
    <item>
      <title>Data View Context Menu GUID and Name</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/data-view-context-menu-guid-and-name/m-p/563522#M15187</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'm trying to extend the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Data View Context Menu&lt;/SPAN&gt;&lt;SPAN&gt; in ArcMap programmatically using C#:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV align="center"&gt;&lt;IMG src="https://photos-1.dropbox.com/i/l/3KQaEa6xbdiiS4AHF3SzJGD_06Ozf4Z-38FRWlnqZf4/16094256/1295690400/d93a3e5" /&gt;&lt;BR /&gt;&lt;BR /&gt;I know from this thread "&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=993&amp;amp;t=285089#884985"&gt;Data View Context Menu UID&lt;/A&gt;" that the GUID for the &lt;SPAN style="font-style:italic;"&gt;Data View Context Menu&lt;/SPAN&gt; is &lt;SPAN style="font-style:italic;"&gt;"3846A5B5-D3F8-44CB-BFA3-A5C30F4E535F"&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;I have searched for this GUID via Google and the ESRI Forums, but I can't find any reference to it.&lt;BR /&gt;&lt;BR /&gt;Neither the GUID nor the name is listed in the &lt;A href="http://resources.esri.com/help/9.3/arcgisdesktop/com/shared/desktop/reference/ArcMapIds.htm"&gt;General Reference - Names and IDs in ArcMap&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Could you tell me the name or a reason why I can't find any reference?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Christian&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 08:04:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/data-view-context-menu-guid-and-name/m-p/563522#M15187</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-01-21T08:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data View Context Menu GUID and Name</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/data-view-context-menu-guid-and-name/m-p/563523#M15188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you're trying to customize the menu then I'm assuming that you're trying to get a reference to the menu so you can add something to it.&amp;nbsp; If that's the case then you don't need the name.&amp;nbsp; The GUID will work just fine.&amp;nbsp; Also, if you have the GUID of a class you can always look it up in the system registry.&amp;nbsp; The class name according to the registry is esriArcMapUI.MapViewCommandsContextMenu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Dim uid As New UID
uid.Value = "{3846A5B5-D3F8-44CB-BFA3-A5C30F4E535F}"
Dim commandItem As ICommandItem = application.Document.CommandBars.Find(uid)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:17:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/data-view-context-menu-guid-and-name/m-p/563523#M15188</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2021-12-12T00:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data View Context Menu GUID and Name</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/data-view-context-menu-guid-and-name/m-p/563524#M15189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Neil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your response. I wasn't aware that one can lookup the name in the Windows registry: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://photos-2.dropbox.com/i/l/JsmDl9FW2Zp5T-oFfpWUsD2g5Ou2m2uZv85r68cXaj0/16094256/1295712000/21d79b6" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the meantime I was able to expand the menu with just the GUID as you mentioned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 13:33:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/data-view-context-menu-guid-and-name/m-p/563524#M15189</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-01-21T13:33:39Z</dc:date>
    </item>
  </channel>
</rss>

