<?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: capture right click in getpoint in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595519#M68126</link>
    <description>It's not the newsreader itself that's doing the mangling, it's Autodesk's&lt;BR /&gt;
discussion software.  Yes, you need the code tags regardless of how you&lt;BR /&gt;
post.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6296021@discussion.autodesk.com...&lt;BR /&gt;
Hi Tony,&lt;BR /&gt;
Yes i did look at the code, thanks for that,&lt;BR /&gt;
I missed the part about AllowNone , Will review that again.&lt;BR /&gt;
That's interesting about the code reformatting, I only use newsreader also&lt;BR /&gt;
and that's the first i've seen a newsreader munge formatting, I thought that&lt;BR /&gt;
was only the web interface that did that.&lt;BR /&gt;
so even in newsreader you need the {code} tags?&lt;BR /&gt;
will remember that&lt;BR /&gt;
thanks&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:6295971@discussion.autodesk.com...&lt;BR /&gt;
Did you look at the sample I referred you to, and specifically it's use of&lt;BR /&gt;
the AllowNone property of the PromptPointObjects class?&lt;BR /&gt;
&lt;BR /&gt;
Also, the code in your post is reformatted and unreadable in my newsreader.&lt;BR /&gt;
I'm not sure what the current state of the forum software is, but most here&lt;BR /&gt;
use a newsreader and put code inside of {code} tags to preserve formatting.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6295901@discussion.autodesk.com...&lt;BR /&gt;
How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the&lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void&lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new&lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed&lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes =&lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right&lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an&lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other)&lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status !=&lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You&lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}&lt;/NOSPAM&gt;&lt;/TONY.TANZILLO&gt;&lt;/NOSPAM&gt;</description>
    <pubDate>Sat, 28 Nov 2009 20:51:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-11-28T20:51:00Z</dc:date>
    <item>
      <title>capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595514#M68121</link>
      <description>How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the &lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void &lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new &lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed &lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes = &lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right &lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an &lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other) &lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status != &lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You &lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}</description>
      <pubDate>Fri, 27 Nov 2009 14:10:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595514#M68121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-27T14:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595515#M68122</link>
      <description>Did you look at the sample I referred you to, and specifically it's use of &lt;BR /&gt;
the AllowNone property of the PromptPointObjects class?&lt;BR /&gt;
&lt;BR /&gt;
Also, the code in your post is reformatted and unreadable in my newsreader. &lt;BR /&gt;
I'm not sure what the current state of the forum software is, but most here &lt;BR /&gt;
use a newsreader and put code inside of {code} tags to preserve formatting.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message &lt;BR /&gt;
news:6295901@discussion.autodesk.com...&lt;BR /&gt;
How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the&lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void&lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new&lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed&lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes =&lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right&lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an&lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other)&lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status !=&lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You&lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}&lt;/NOSPAM&gt;</description>
      <pubDate>Fri, 27 Nov 2009 21:50:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595515#M68122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-27T21:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595516#M68123</link>
      <description>Hi Tony,&lt;BR /&gt;
Yes i did look at the code, thanks for that,&lt;BR /&gt;
I missed the part about AllowNone , Will review that again.&lt;BR /&gt;
That's interesting about the code reformatting, I only use newsreader also &lt;BR /&gt;
and that's the first i've seen a newsreader munge formatting, I thought that &lt;BR /&gt;
was only the web interface that did that.&lt;BR /&gt;
so even in newsreader you need the {code} tags?&lt;BR /&gt;
will remember that&lt;BR /&gt;
thanks&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:6295971@discussion.autodesk.com...&lt;BR /&gt;
Did you look at the sample I referred you to, and specifically it's use of&lt;BR /&gt;
the AllowNone property of the PromptPointObjects class?&lt;BR /&gt;
&lt;BR /&gt;
Also, the code in your post is reformatted and unreadable in my newsreader.&lt;BR /&gt;
I'm not sure what the current state of the forum software is, but most here&lt;BR /&gt;
use a newsreader and put code inside of {code} tags to preserve formatting.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6295901@discussion.autodesk.com...&lt;BR /&gt;
How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the&lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void&lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new&lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed&lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes =&lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right&lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an&lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other)&lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status !=&lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You&lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}&lt;/NOSPAM&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Sat, 28 Nov 2009 01:13:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595516#M68123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-28T01:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595517#M68124</link>
      <description>Thanks Tony, AllowNone did the trick&lt;BR /&gt;
I have to admit the documentation of that property is obscure to me, but I &lt;BR /&gt;
see it does what i wanted.&lt;BR /&gt;
Thanks&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message &lt;BR /&gt;
news:6295971@discussion.autodesk.com...&lt;BR /&gt;
Did you look at the sample I referred you to, and specifically it's use of&lt;BR /&gt;
the AllowNone property of the PromptPointObjects class?&lt;BR /&gt;
&lt;BR /&gt;
Also, the code in your post is reformatted and unreadable in my newsreader.&lt;BR /&gt;
I'm not sure what the current state of the forum software is, but most here&lt;BR /&gt;
use a newsreader and put code inside of {code} tags to preserve formatting.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6295901@discussion.autodesk.com...&lt;BR /&gt;
How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the&lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void&lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new&lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed&lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes =&lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right&lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an&lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other)&lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status !=&lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You&lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}&lt;/NOSPAM&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Sat, 28 Nov 2009 03:26:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595517#M68124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-28T03:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595518#M68125</link>
      <description>I'm assuming you mean this:&lt;BR /&gt;
&lt;BR /&gt;
   "Gets or sets whether the prompt accepts ENTER as sole input. "&lt;BR /&gt;
&lt;BR /&gt;
If so, that's not nearly as obscure as some of the stuff I've read in the &lt;BR /&gt;
docs.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message &lt;BR /&gt;
news:6296024@discussion.autodesk.com...&lt;BR /&gt;
Thanks Tony, AllowNone did the trick&lt;BR /&gt;
I have to admit the documentation of that property is obscure to me, but I&lt;BR /&gt;
see it does what i wanted.&lt;BR /&gt;
Thanks&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:6295971@discussion.autodesk.com...&lt;BR /&gt;
Did you look at the sample I referred you to, and specifically it's use of&lt;BR /&gt;
the AllowNone property of the PromptPointObjects class?&lt;BR /&gt;
&lt;BR /&gt;
Also, the code in your post is reformatted and unreadable in my newsreader.&lt;BR /&gt;
I'm not sure what the current state of the forum software is, but most here&lt;BR /&gt;
use a newsreader and put code inside of {code} tags to preserve formatting.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6295901@discussion.autodesk.com...&lt;BR /&gt;
How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the&lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void&lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new&lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed&lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes =&lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right&lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an&lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other)&lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status !=&lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You&lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}&lt;/NOSPAM&gt;&lt;/TONY.TANZILLO&gt;&lt;/NOSPAM&gt;</description>
      <pubDate>Sat, 28 Nov 2009 20:50:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595518#M68125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-28T20:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595519#M68126</link>
      <description>It's not the newsreader itself that's doing the mangling, it's Autodesk's&lt;BR /&gt;
discussion software.  Yes, you need the code tags regardless of how you&lt;BR /&gt;
post.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6296021@discussion.autodesk.com...&lt;BR /&gt;
Hi Tony,&lt;BR /&gt;
Yes i did look at the code, thanks for that,&lt;BR /&gt;
I missed the part about AllowNone , Will review that again.&lt;BR /&gt;
That's interesting about the code reformatting, I only use newsreader also&lt;BR /&gt;
and that's the first i've seen a newsreader munge formatting, I thought that&lt;BR /&gt;
was only the web interface that did that.&lt;BR /&gt;
so even in newsreader you need the {code} tags?&lt;BR /&gt;
will remember that&lt;BR /&gt;
thanks&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:6295971@discussion.autodesk.com...&lt;BR /&gt;
Did you look at the sample I referred you to, and specifically it's use of&lt;BR /&gt;
the AllowNone property of the PromptPointObjects class?&lt;BR /&gt;
&lt;BR /&gt;
Also, the code in your post is reformatted and unreadable in my newsreader.&lt;BR /&gt;
I'm not sure what the current state of the forum software is, but most here&lt;BR /&gt;
use a newsreader and put code inside of {code} tags to preserve formatting.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6295901@discussion.autodesk.com...&lt;BR /&gt;
How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the&lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void&lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new&lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed&lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes =&lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right&lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an&lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other)&lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status !=&lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You&lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}&lt;/NOSPAM&gt;&lt;/TONY.TANZILLO&gt;&lt;/NOSPAM&gt;</description>
      <pubDate>Sat, 28 Nov 2009 20:51:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595519#M68126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-28T20:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595520#M68127</link>
      <description>When using a newsreader such as Outlook Express - set your return to "Plain &lt;BR /&gt;
Text" instead of HTML and I believe you will be alright. I don't seem to &lt;BR /&gt;
have any issues doing it this way.&lt;BR /&gt;
&lt;BR /&gt;
Public Function OpenMDBDatabase(Connect As ADODB.Connection, Name As String) &lt;BR /&gt;
As Boolean&lt;BR /&gt;
  On Error Resume Next&lt;BR /&gt;
  If Not Connect.State = adStateOpen Then&lt;BR /&gt;
    Connect.Open "Provider=Microsoft.Jet.OLEDB.4.0;" &amp;amp; _&lt;BR /&gt;
                 "Data Source=" &amp;amp; Name &amp;amp; ";"&lt;BR /&gt;
  End If&lt;BR /&gt;
&lt;BR /&gt;
  If Err Then Exit Function&lt;BR /&gt;
  OpenMDBDatabase = True&lt;BR /&gt;
End Function&lt;BR /&gt;
&lt;BR /&gt;
Unless of course this test goes South on me.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message &lt;BR /&gt;
news:6296021@discussion.autodesk.com...&lt;BR /&gt;
Hi Tony,&lt;BR /&gt;
Yes i did look at the code, thanks for that,&lt;BR /&gt;
I missed the part about AllowNone , Will review that again.&lt;BR /&gt;
That's interesting about the code reformatting, I only use newsreader also&lt;BR /&gt;
and that's the first i've seen a newsreader munge formatting, I thought that&lt;BR /&gt;
was only the web interface that did that.&lt;BR /&gt;
so even in newsreader you need the {code} tags?&lt;BR /&gt;
will remember that&lt;BR /&gt;
thanks&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:6295971@discussion.autodesk.com...&lt;BR /&gt;
Did you look at the sample I referred you to, and specifically it's use of&lt;BR /&gt;
the AllowNone property of the PromptPointObjects class?&lt;BR /&gt;
&lt;BR /&gt;
Also, the code in your post is reformatted and unreadable in my newsreader.&lt;BR /&gt;
I'm not sure what the current state of the forum software is, but most here&lt;BR /&gt;
use a newsreader and put code inside of {code} tags to preserve formatting.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6295901@discussion.autodesk.com...&lt;BR /&gt;
How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the&lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void&lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new&lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed&lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes =&lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right&lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an&lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other)&lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status !=&lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You&lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}&lt;/NOSPAM&gt;&lt;/TONY.TANZILLO&gt;&lt;/NOSPAM&gt;</description>
      <pubDate>Tue, 01 Dec 2009 19:55:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595520#M68127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-01T19:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595521#M68128</link>
      <description>Right, I've always had it set that way and don't remember having problem &lt;BR /&gt;
before.&lt;BR /&gt;
oh well&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Steve" &lt;NOWAY&gt; wrote in message &lt;BR /&gt;
news:6297460@discussion.autodesk.com...&lt;BR /&gt;
When using a newsreader such as Outlook Express - set your return to "Plain&lt;BR /&gt;
Text" instead of HTML and I believe you will be alright. I don't seem to&lt;BR /&gt;
have any issues doing it this way.&lt;BR /&gt;
&lt;BR /&gt;
Public Function OpenMDBDatabase(Connect As ADODB.Connection, Name As String)&lt;BR /&gt;
As Boolean&lt;BR /&gt;
  On Error Resume Next&lt;BR /&gt;
  If Not Connect.State = adStateOpen Then&lt;BR /&gt;
    Connect.Open "Provider=Microsoft.Jet.OLEDB.4.0;" &amp;amp; _&lt;BR /&gt;
                 "Data Source=" &amp;amp; Name &amp;amp; ";"&lt;BR /&gt;
  End If&lt;BR /&gt;
&lt;BR /&gt;
  If Err Then Exit Function&lt;BR /&gt;
  OpenMDBDatabase = True&lt;BR /&gt;
End Function&lt;BR /&gt;
&lt;BR /&gt;
Unless of course this test goes South on me.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6296021@discussion.autodesk.com...&lt;BR /&gt;
Hi Tony,&lt;BR /&gt;
Yes i did look at the code, thanks for that,&lt;BR /&gt;
I missed the part about AllowNone , Will review that again.&lt;BR /&gt;
That's interesting about the code reformatting, I only use newsreader also&lt;BR /&gt;
and that's the first i've seen a newsreader munge formatting, I thought that&lt;BR /&gt;
was only the web interface that did that.&lt;BR /&gt;
so even in newsreader you need the {code} tags?&lt;BR /&gt;
will remember that&lt;BR /&gt;
thanks&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:6295971@discussion.autodesk.com...&lt;BR /&gt;
Did you look at the sample I referred you to, and specifically it's use of&lt;BR /&gt;
the AllowNone property of the PromptPointObjects class?&lt;BR /&gt;
&lt;BR /&gt;
Also, the code in your post is reformatted and unreadable in my newsreader.&lt;BR /&gt;
I'm not sure what the current state of the forum software is, but most here&lt;BR /&gt;
use a newsreader and put code inside of {code} tags to preserve formatting.&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&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"mp" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:6295901@discussion.autodesk.com...&lt;BR /&gt;
How to detect right click as response to a getxxx call&lt;BR /&gt;
The various flavors of PromptStatus dont seem to be the trick,&lt;BR /&gt;
I see the following about mousegesture in msdn but no clue if this is the&lt;BR /&gt;
way somehow...any tips?&lt;BR /&gt;
MouseGesture CutCmdMouseGesture = new MouseGesture(&lt;BR /&gt;
    MouseAction.MiddleClick);&lt;BR /&gt;
&lt;BR /&gt;
MouseBinding CutMouseBinding = new MouseBinding(&lt;BR /&gt;
    ApplicationCommands.Cut,&lt;BR /&gt;
    CutCmdMouseGesture);&lt;BR /&gt;
&lt;BR /&gt;
// RootWindow is an instance of Window.&lt;BR /&gt;
RootWindow.InputBindings.Add(CutMouseBinding);&lt;BR /&gt;
&lt;BR /&gt;
from acads' lab2(modified)[CommandMethod("selectPoint")]static public void&lt;BR /&gt;
selectpoint() {while (true){PromptPointOptions prPointOptions = new&lt;BR /&gt;
PromptPointOptions("Select a point");PromptPointResult prPointRes;Editor ed&lt;BR /&gt;
= Application.DocumentManager.MdiActiveDocument.Editor;prPointRes =&lt;BR /&gt;
ed.GetPoint(prPointOptions);//i tried .Other but that didn't fire on right&lt;BR /&gt;
click//i get "Invalid Point" at the command line...so it didn't throw an&lt;BR /&gt;
error either//if (prPointRes.Status == PromptStatus.Other)&lt;BR /&gt;
//{//ed.WriteMessage("Other\n");//break;//}if (prPointRes.Status !=&lt;BR /&gt;
PromptStatus.OK){ed.WriteMessage("Error\n");break;}else{ed.WriteMessage("You&lt;BR /&gt;
selected point " + prPointRes.Value.ToString());}}}&lt;/NOSPAM&gt;&lt;/TONY.TANZILLO&gt;&lt;/NOSPAM&gt;&lt;/NOWAY&gt;</description>
      <pubDate>Tue, 01 Dec 2009 22:55:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/2595521#M68128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-01T22:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: capture right click in getpoint</title>
      <link>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/3185626#M68129</link>
      <description>&lt;P&gt;Hi Tony,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the same problem? could you please let me know where is the trick?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yaqi&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2011 11:33:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/capture-right-click-in-getpoint/m-p/3185626#M68129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-10T11:33:56Z</dc:date>
    </item>
  </channel>
</rss>

