<?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 disable CTRL+T in ArcGIS Desktop in Extension in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/disable-ctrl-t-in-arcgis-desktop-in-extension/m-p/489274#M13204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;am building an ARCGIS desktop Extension, with arcobjects .NET. I want to disable showing attribute table (because I want to force the editing through custom forms). So, I disable it from the context menu, but still the user can click the layer and press (CTRL + T) to show the attribute table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to use this code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IAcceleratorTable acceleratorTable = (IAcceleratorTable) Application.Document.Accelerators;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IAccelerator keyStroke = (IAccelerator) acceleratorTable.FindByKey(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(int) Keys.T, true, false, false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;keystroke.Delete();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to delete that accelerator (CTRL + T)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2013 16:59:34 GMT</pubDate>
    <dc:creator>GhassanKarwchan</dc:creator>
    <dc:date>2013-05-28T16:59:34Z</dc:date>
    <item>
      <title>disable CTRL+T in ArcGIS Desktop in Extension</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/disable-ctrl-t-in-arcgis-desktop-in-extension/m-p/489274#M13204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;am building an ARCGIS desktop Extension, with arcobjects .NET. I want to disable showing attribute table (because I want to force the editing through custom forms). So, I disable it from the context menu, but still the user can click the layer and press (CTRL + T) to show the attribute table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to use this code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IAcceleratorTable acceleratorTable = (IAcceleratorTable) Application.Document.Accelerators;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IAccelerator keyStroke = (IAccelerator) acceleratorTable.FindByKey(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(int) Keys.T, true, false, false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;keystroke.Delete();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to delete that accelerator (CTRL + T)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 16:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/disable-ctrl-t-in-arcgis-desktop-in-extension/m-p/489274#M13204</guid>
      <dc:creator>GhassanKarwchan</dc:creator>
      <dc:date>2013-05-28T16:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: disable CTRL+T in ArcGIS Desktop in Extension</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/disable-ctrl-t-in-arcgis-desktop-in-extension/m-p/489275#M13205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a similar problem. I can not assign keyboard shortcuts using IAccelerator. I even can't assign keyboard shortcuts using the ArcMap GUI (Customize - Keyboard...). I mean, I can assign them, but they don't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Barbara&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 06:37:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/disable-ctrl-t-in-arcgis-desktop-in-extension/m-p/489275#M13205</guid>
      <dc:creator>BarbaraSchneider1</dc:creator>
      <dc:date>2013-05-30T06:37:28Z</dc:date>
    </item>
  </channel>
</rss>

