<?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: Disable F1 Help for Custom RibbonButton in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2718653#M64890</link>
    <description>&lt;P&gt;I believe it is possible, but it is not an AutoCAD function. It is built into Windows. You would need to look into the Windows SDK to find what you need. And that is a whole other bucket of worms (very slimy ones!). You could google for disabling F1 in Windows... it has more than likely been done numerous times and somebody is bound to have some code you can borrow.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2010 20:20:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-07-15T20:20:22Z</dc:date>
    <item>
      <title>Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2709187#M64889</link>
      <description>&lt;P&gt;I've searched here, goolge, cadtudor.net, though the intterface, etc. and still haven't found if it's possible to remove/disable the F1 help in AutoCAD 2010 for&amp;nbsp;a custom toolbaritem and/or ribbonbutton via .net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to remove the F1 help option for&amp;nbsp;a custom toolbaritem and/or ribbonbutton via .net?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jerri&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2010 14:01:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2709187#M64889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-06T14:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2718653#M64890</link>
      <description>&lt;P&gt;I believe it is possible, but it is not an AutoCAD function. It is built into Windows. You would need to look into the Windows SDK to find what you need. And that is a whole other bucket of worms (very slimy ones!). You could google for disabling F1 in Windows... it has more than likely been done numerous times and somebody is bound to have some code you can borrow.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2010 20:20:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2718653#M64890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-15T20:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719059#M64891</link>
      <description>&lt;P&gt;I don't know the answer to OP's question without researching it, and I don't have time&lt;/P&gt;&lt;P&gt;for that right now, but I do know that you are mistaken. The F1 key cannot be&amp;nbsp;disabled&lt;/P&gt;&lt;P&gt;selectively for only certain ribbon UI elements using the Windows API, because the&lt;/P&gt;&lt;P&gt;Windows API knows absolutely nothing about ribbon items, or which item the help is&lt;/P&gt;&lt;P&gt;being requested for.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2010 11:32:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719059#M64891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T11:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719099#M64892</link>
      <description>&lt;P&gt;After looking at the OP post again, I realize I may have misunderstod the question. I was referring to disabling the F1 key altogether, not for a specific AutoCAD command/function/toolbar item. Tony is, of course, correct on this. To a point, at least. It should be possible, but not at all simple, to write a new Windows function for F1 that could check where it was called from and, if coded properly, could communicate with a custom routine in AutoCAD to achieve the desired result. This would be an extraordinary effort&amp;nbsp;for the (relatively) small benefit you desire, though.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2010 12:18:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719099#M64892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719245#M64893</link>
      <description>&lt;P&gt;You're leading the OP astray, unless you would care to&lt;/P&gt;&lt;P&gt;explain in some detail, how a 'windows function' can&lt;/P&gt;&lt;P&gt;'check to see where it was called from'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By a 'windows function', do you mean a keyboard&lt;/P&gt;&lt;P&gt;hook that traps F1, or something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, how would a keyboard hook know what ribbon&lt;/P&gt;&lt;P&gt;item it is being called for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not just blasting you for the fun of it, I'm doing it&lt;/P&gt;&lt;P&gt;because you're speculating wildly and giving the&lt;/P&gt;&lt;P&gt;OP the idea that he can solve his problem, when&lt;/P&gt;&lt;P&gt;if there is a way to do that, it requires extensive&lt;/P&gt;&lt;P&gt;use of&amp;nbsp;undocumented, 'internal-use-only' ribbon&lt;/P&gt;&lt;P&gt;APIs, not a 'windows function'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2010 14:18:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719245#M64893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719297#M64894</link>
      <description>&lt;P&gt;Yes, it could&amp;nbsp;start with a hook that traps F1. The ribbon function could set a flag/value (say, in the registry) that indicates it is making the call. The keyboard hook routine would have to check for said value, and if it determines that the call has been made from the AutoCAD ribbon's routine, it would ignore that call and reset the flag.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inelegant, yes... extremely. But it CAN be done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Plus, there may be other ways that I don't have any idea about (Windows functions are not my forte). Hence, my suggestion to google it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Computing-wise, there isn't much that can't be done. It's usually a matter of value of result vs. amount of effort required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And beyond a doubt, this&amp;nbsp;would be&amp;nbsp;a large amount of effort for a relatively small result, but that does not make it impossible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My apologies to the OP if my previous response gave the impression this was a simple thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2010 14:41:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719297#M64894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719321#M64895</link>
      <description>&lt;P&gt;It's becoming increasingly obvious with each post you make that&lt;/P&gt;&lt;P&gt;your'e just wildly speculating and not giving readers or your peers&lt;/P&gt;&lt;P&gt;the courtesy of spending even a few nanoseconds thinking about&lt;/P&gt;&lt;P&gt;what you are writing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Yes, it could&amp;nbsp;start with a hook that traps F1. The ribbon function could&lt;/P&gt;&lt;P&gt;set a flag/value (say, in the registry) that indicates it is making the call"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean by 'it is making the call'??. Ribbon items do not make&lt;/P&gt;&lt;P&gt;calls for help, pressing the F1 Key does that, and the ribbon determines&lt;/P&gt;&lt;P&gt;what item the user wants help for. The item doesn't know that help is&lt;/P&gt;&lt;P&gt;being requested for itself, so how is it going to 'set a flag'.?????&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2010 15:10:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719321#M64895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T15:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719347#M64897</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe my assumptions about what the OP wanted are inaccurate. I assumed he would be activating&amp;nbsp;some routine from the ribbon, and that he wanted F1 disabled from that point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edited by&lt;BR /&gt;Discussion_Admin&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2010 20:44:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2719347#M64897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-16T20:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2835101#M64899</link>
      <description>&lt;P&gt;The F1 key cannot be disabled, however, you can make it "cancel".&lt;/P&gt;&lt;P&gt;When you go into your CUI you want to drag the Cancel command into your "Keyboard Shorcuts/Shortcut Keys" once the cancel command is in the shortcut keys select it from the list then over in the "Shortcuts" section you fill find a "Keys" click in there and press "F1" this will make the F1 key just like the ESC key.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2010 15:01:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2835101#M64899</guid>
      <dc:creator>Ken.Fields</dc:creator>
      <dc:date>2010-11-24T15:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Disable F1 Help for Custom RibbonButton</title>
      <link>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2841815#M64900</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using C3D 2011. I followed all of the above steps (and even checked with the posting on Being Civil), however, when I get to the final step of pressing the desired F1 key, the CUI insists that it is Shift+F1, which is already assigned another function; e.g., F1 is not accepted as a valid input.&amp;nbsp; Personally, I never use Shift+F1, but that's beside the point. I tried it with both the "Cancel" command from ACAD and from Civil and neither one worked. Any thoughts on this problem would be welcome. I sucessfully changed the keyboard in 2009. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2010 21:45:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/disable-f1-help-for-custom-ribbonbutton/m-p/2841815#M64900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-02T21:45:16Z</dc:date>
    </item>
  </channel>
</rss>

