<?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: Distinguish between right click and enter? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489018#M17618</link>
    <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2" face="Arial"&gt;What I do is to add an Editor Reactor and react on &lt;BR /&gt;
the beginRightClick() notification.&amp;nbsp; I have a global variable called &lt;BR /&gt;
"fRightClk".&amp;nbsp; I set it to false before any call to acedGetxxx() and check &lt;BR /&gt;
it's value when the call returns.&amp;nbsp; In beginRightClick() notification, I &lt;BR /&gt;
simply set the flag to true.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2" face="Arial"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2" face="Arial"&gt;Joe&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;lt;ebts&amp;gt; wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:6183692@discussion.autodesk.com"&amp;gt;news:6183692@discussion.autodesk.com&lt;/A&gt;...&lt;/DIV&gt;I'm &lt;BR /&gt;
  using acedGetPoint to accept user input. I'd like to be able to react &lt;BR /&gt;
  differently depending on whether the user does a right click (cancel) or hits &lt;BR /&gt;
  the enter key, however the return status is the same for both. I've checked &lt;BR /&gt;
  the ERRNO system variable and it's also the same. Is there another way to &lt;BR /&gt;
  determine what the user did, without resorting to using the &lt;BR /&gt;
jig?&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 14 May 2009 18:08:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-05-14T18:08:08Z</dc:date>
    <item>
      <title>Distinguish between right click and enter?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489017#M17617</link>
      <description>I'm using acedGetPoint to accept user input.  I'd like to be able to react differently depending on whether the user does a right click (cancel) or hits the enter key, however the return status is the same for both.  I've checked the ERRNO system variable and it's also the same.&lt;BR /&gt;
Is there another way to determine what the user did, without resorting to using the jig?</description>
      <pubDate>Thu, 14 May 2009 17:35:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489017#M17617</guid>
      <dc:creator>ebts</dc:creator>
      <dc:date>2009-05-14T17:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish between right click and enter?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489018#M17618</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2" face="Arial"&gt;What I do is to add an Editor Reactor and react on &lt;BR /&gt;
the beginRightClick() notification.&amp;nbsp; I have a global variable called &lt;BR /&gt;
"fRightClk".&amp;nbsp; I set it to false before any call to acedGetxxx() and check &lt;BR /&gt;
it's value when the call returns.&amp;nbsp; In beginRightClick() notification, I &lt;BR /&gt;
simply set the flag to true.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2" face="Arial"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2" face="Arial"&gt;Joe&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;lt;ebts&amp;gt; wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:6183692@discussion.autodesk.com"&amp;gt;news:6183692@discussion.autodesk.com&lt;/A&gt;...&lt;/DIV&gt;I'm &lt;BR /&gt;
  using acedGetPoint to accept user input. I'd like to be able to react &lt;BR /&gt;
  differently depending on whether the user does a right click (cancel) or hits &lt;BR /&gt;
  the enter key, however the return status is the same for both. I've checked &lt;BR /&gt;
  the ERRNO system variable and it's also the same. Is there another way to &lt;BR /&gt;
  determine what the user did, without resorting to using the &lt;BR /&gt;
jig?&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 May 2009 18:08:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489018#M17618</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T18:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish between right click and enter?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489019#M17619</link>
      <description>That looks like just what I need, thanks!</description>
      <pubDate>Fri, 15 May 2009 22:34:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489019#M17619</guid>
      <dc:creator>ebts</dc:creator>
      <dc:date>2009-05-15T22:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish between right click and enter?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489020#M17620</link>
      <description>Turns out this doesn't quite work.  Most of the time, the editor reactor fires before the call to acedGetPoint returns, but not all the time.  So the result is inconsistent.&lt;BR /&gt;
&lt;BR /&gt;
Anyone else have a way to deal with this?

Edited by: ebts on May 26, 2009 11:39 AM</description>
      <pubDate>Tue, 26 May 2009 18:38:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489020#M17620</guid>
      <dc:creator>ebts</dc:creator>
      <dc:date>2009-05-26T18:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish between right click and enter?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489021#M17621</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2" face="Arial"&gt;I use this technique all the time.&amp;nbsp; As soon as &lt;BR /&gt;
you right-click, acedGetPoint will return.&amp;nbsp; The reactor is supposed to fire &lt;BR /&gt;
first so that you can set the fRightClick flag.&amp;nbsp; What exactly is not quite &lt;BR /&gt;
working for you?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2" face="Arial"&gt;Joe&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;&amp;lt;ebts&amp;gt; wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:6189689@discussion.autodesk.com"&amp;gt;news:6189689@discussion.autodesk.com&lt;/A&gt;...&lt;/DIV&gt;Turns &lt;BR /&gt;
  out this doesn't quite work. Most of the time, the editor reactor fires before &lt;BR /&gt;
  the call to acedGetPoint returns, but not all the time. So the result is &lt;BR /&gt;
  inconsistent. Anyone else have a way to deal with this? Edited by: ebts on May &lt;BR /&gt;
  26, 2009 11:39 AM&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 May 2009 19:13:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489021#M17621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-26T19:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish between right click and enter?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489022#M17622</link>
      <description>If the right mouse button issues a ^C, have you tried calling acedUsrBrk() &lt;BR /&gt;
to detect a cancel?&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;
Supporting AutoCAD 2000 through 2009&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Introducing AcadXTabs 2010:&lt;BR /&gt;
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;EBTS&gt; wrote in message news:6183692@discussion.autodesk.com...&lt;BR /&gt;
I'm using acedGetPoint to accept user input. I'd like to be able to react&lt;BR /&gt;
differently depending on whether the user does a right click (cancel) or&lt;BR /&gt;
hits the enter key, however the return status is the same for both. I've&lt;BR /&gt;
checked the ERRNO system variable and it's also the same. Is there another&lt;BR /&gt;
way to determine what the user did, without resorting to using the jig?&lt;/EBTS&gt;</description>
      <pubDate>Tue, 26 May 2009 21:58:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/distinguish-between-right-click-and-enter/m-p/2489022#M17622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-26T21:58:40Z</dc:date>
    </item>
  </channel>
</rss>

