Does Application class have a "BeginDoubleClick" event?

Does Application class have a "BeginDoubleClick" event?

norman.yuan
Mentor Mentor
1,087 Views
7 Replies
Message 1 of 8

Does Application class have a "BeginDoubleClick" event?

norman.yuan
Mentor
Mentor
In resently available "AutoCAD .NET Developer Guide" (http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html), "Use Event" chapter lists that Application class has a "BeginDoubleClick" event. However, I cannot find this event in VS's object brower. I am using AutoCAD2009. I also has documentation from AutoCAD2010 SDK, in which, the .NET API's Application class also does not have a "BeginDoubleClick" event.

So, can someone tell me if I missed something, or some insider know this event will be only available for future version, say 2011 (because the author put it into this developer guide, he might know the next version, natually)?

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
1,088 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable
The event is there.

Perhaps you're seeing the System.Windows.Forms.Application class (or its WPF
counterpart) in intellisense?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6240243@discussion.autodesk.com...
In resently available "AutoCAD .NET Developer Guide"
(http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html),
"Use Event" chapter lists that Application class has a "BeginDoubleClick"
event. However, I cannot find this event in VS's object brower. I am using
AutoCAD2009. I also has documentation from AutoCAD2010 SDK, in which, the
.NET API's Application class also does not have a "BeginDoubleClick" event.

So, can someone tell me if I missed something, or some insider know this
event will be only available for future version, say 2011 (because the
author put it into this developer guide, he might know the next version,
natually)?
0 Likes
Message 3 of 8

Anonymous
Not applicable
I do not see it in 2009 either (see attached) as well as a couple of others they list. I do not have 2010 installed but would assume they are there and are new.
0 Likes
Message 4 of 8

Anonymous
Not applicable
No, I did meant Autodesk.AutoCAD.ApplicationServices.Application class. As I
said, I am using Acad2009. As Nathtay's reply suggested, this event does not
exist at least until Acad2009.

I only checked Acad2010' documentation in downloaded Acad2010 SDK yesterday.
According to the document the event does not exist. But now when I changed
refernce to "acmdg.dll" in a VS project to the one from Acad2010SDK, the
event is there. So, it is just another typicl Autodesk behaviour of very
poor documentation: it is too busy on yearly release to update the
documentation.

"Tony Tanzillo" wrote in message
news:6240267@discussion.autodesk.com...
The event is there.

Perhaps you're seeing the System.Windows.Forms.Application class (or its WPF
counterpart) in intellisense?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6240243@discussion.autodesk.com...
In resently available "AutoCAD .NET Developer Guide"
(http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html),
"Use Event" chapter lists that Application class has a "BeginDoubleClick"
event. However, I cannot find this event in VS's object brower. I am using
AutoCAD2009. I also has documentation from AutoCAD2010 SDK, in which, the
.NET API's Application class also does not have a "BeginDoubleClick" event.

So, can someone tell me if I missed something, or some insider know this
event will be only available for future version, say 2011 (because the
author put it into this developer guide, he might know the next version,
natually)?
0 Likes
Message 5 of 8

Anonymous
Not applicable
I use Reflector so it may be showing things that the object browser may not
show depending on the settings for the browser.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

"Norman Yuan" wrote in message
news:6240372@discussion.autodesk.com...
No, I did meant Autodesk.AutoCAD.ApplicationServices.Application class. As I
said, I am using Acad2009. As Nathtay's reply suggested, this event does not
exist at least until Acad2009.

I only checked Acad2010' documentation in downloaded Acad2010 SDK yesterday.
According to the document the event does not exist. But now when I changed
refernce to "acmdg.dll" in a VS project to the one from Acad2010SDK, the
event is there. So, it is just another typicl Autodesk behaviour of very
poor documentation: it is too busy on yearly release to update the
documentation.

"Tony Tanzillo" wrote in message
news:6240267@discussion.autodesk.com...
The event is there.

Perhaps you're seeing the System.Windows.Forms.Application class (or its WPF
counterpart) in intellisense?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6240243@discussion.autodesk.com...
In resently available "AutoCAD .NET Developer Guide"
(http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html),
"Use Event" chapter lists that Application class has a "BeginDoubleClick"
event. However, I cannot find this event in VS's object brower. I am using
AutoCAD2009. I also has documentation from AutoCAD2010 SDK, in which, the
.NET API's Application class also does not have a "BeginDoubleClick" event.

So, can someone tell me if I missed something, or some insider know this
event will be only available for future version, say 2011 (because the
author put it into this developer guide, he might know the next version,
natually)?
0 Likes
Message 6 of 8

Anonymous
Not applicable
So are you saying the event exists in 2009?
0 Likes
Message 7 of 8

Anonymous
Not applicable
I noticed in your screenshot that you have "Custom Component Set" selected.
Can you verify that the acmgd listed is for 2009 (click on acmgd in left pane of Object Browser)?

Should say something like:

Assembly acmgd
C:\Program Files\AutoCAD 2009\acmgd.dll

I looked in 2010 and it is there. I don't have 2009 installed right now.
0 Likes
Message 8 of 8

Anonymous
Not applicable
The custom component set consists of acmgd.dll and acdbmgd.dll for version 2009.
0 Likes