<?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: Pick method and Esp and Enter keys in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/pick-method-and-esp-and-enter-keys/m-p/6903145#M70507</link>
    <description>&lt;PRE&gt; invApp.CommandManager.UserInputEvents.OnTerminateCommand += UserInputEvents_OnTerminateCommand;

private void UserInputEvents_OnTerminateCommand(string CommandName, NameValueMap Context)
        {
            MessageBox.Show("Terminated");
        }&lt;/PRE&gt;&lt;P&gt;This is for escape key.&lt;/P&gt;&lt;P&gt;But how can I catch Enter key?&lt;/P&gt;</description>
    <pubDate>Sat, 25 Feb 2017 11:56:48 GMT</pubDate>
    <dc:creator>wmgshurik</dc:creator>
    <dc:date>2017-02-25T11:56:48Z</dc:date>
    <item>
      <title>Pick method and Esp and Enter keys</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/pick-method-and-esp-and-enter-keys/m-p/6901707#M70497</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use CommandManager.Pick() and want to handle escape and enter keys at the same time, but I dont know how to do it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inventor blocks WindowsForms's KeyEvents. &amp;nbsp;If I create new InteractionEvents, it works but not with Pick method. This function has some own interaction events, whiсh dont want to join to MY interaction events....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you got any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 16:30:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/pick-method-and-esp-and-enter-keys/m-p/6901707#M70497</guid>
      <dc:creator>wmgshurik</dc:creator>
      <dc:date>2017-02-24T16:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pick method and Esp and Enter keys</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/pick-method-and-esp-and-enter-keys/m-p/6903145#M70507</link>
      <description>&lt;PRE&gt; invApp.CommandManager.UserInputEvents.OnTerminateCommand += UserInputEvents_OnTerminateCommand;

private void UserInputEvents_OnTerminateCommand(string CommandName, NameValueMap Context)
        {
            MessageBox.Show("Terminated");
        }&lt;/PRE&gt;&lt;P&gt;This is for escape key.&lt;/P&gt;&lt;P&gt;But how can I catch Enter key?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 11:56:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/pick-method-and-esp-and-enter-keys/m-p/6903145#M70507</guid>
      <dc:creator>wmgshurik</dc:creator>
      <dc:date>2017-02-25T11:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pick method and Esp and Enter keys</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/pick-method-and-esp-and-enter-keys/m-p/6904010#M70510</link>
      <description>&lt;P&gt;Well, OnTerminateCommand also triggered when command finishes normally, but it is not a problem in my case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But Enter key doesnt work.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2017 07:49:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/pick-method-and-esp-and-enter-keys/m-p/6904010#M70510</guid>
      <dc:creator>wmgshurik</dc:creator>
      <dc:date>2017-02-26T07:49:07Z</dc:date>
    </item>
  </channel>
</rss>

