COM / ActiveX SDK Documentation  2020SP3
FxDispInterfaces.idl
Go to the documentation of this file.
1  [
2  FX_IID_DAcadApplicationEvents,
3  helpstring("Event interface for AcadApplication"),
4  hidden
5  ]
6  dispinterface _DAcadApplicationEvents
7  {
8  properties:
9  methods:
10  [id(0x00000001), helpstring("Triggered when the value of a system variable is changed")]
11  HRESULT SysVarChanged([in] BSTR SysvarName, [in] VARIANT newVal);
12  [id(0x00000002), helpstring("Triggered just before a new drawing is created")]
13  HRESULT NewDrawing();
14  [id(0x00000003), helpstring("Triggered just before the main application window is activated")]
15  HRESULT AppActivate();
16  [id(0x00000004), helpstring("Triggered just before the main application window is deactivated")]
17  HRESULT AppDeactivate();
18  [id(0x00000005), helpstring("Happens when the main frame window is moved or resized")]
19  HRESULT WindowMovedOrResized([in] long HWNDFrame, [in] VARIANT_BOOL bMoved);
20  [id(0x00000006), helpstring("Triggered just before a modal dialog is displayed")]
21  HRESULT BeginModal();
22  [id(0x00000007), helpstring("Triggered just after a modal dialog is dismissed")]
23  HRESULT EndModal();
24  [id(0x00000008), helpstring("Triggered just before an Argon session ends or a document closes")]
25  HRESULT BeginQuit([in] VARIANT_BOOL* Cancel);
26  [id(0x0000000a), helpstring("Triggered when a file is dropped on the main application window")]
27  HRESULT BeginFileDrop([in] BSTR FileName, [in] VARIANT_BOOL* Cancel);
28 
29  [id(0x0000000b), helpstring("Triggered when an Argon application has been loaded")]
30  HRESULT ARXLoaded([in] BSTR AppName);
31  [id(0x0000000c), helpstring("Triggered when an Argon application has been unloaded")]
32  HRESULT ARXUnloaded([in] BSTR AppName);
33  [id(0x0000000d), helpstring("Triggered immediately after Argon receives a request to print a drawing")]
34  HRESULT BeginPlot([in] BSTR DrawingName);
35  [id(0x0000000e), helpstring("Triggered after a document has been sent to the printer")]
36  HRESULT EndPlot([in] BSTR DrawingName);
37  [id(0x00000013), helpstring("Triggered immediately after Argon receives a request to save the drawing")]
38  HRESULT BeginSave([in] BSTR FileName);
39  [id(0x00000014), helpstring("Triggered when Argon has finished saving the drawing")]
40  HRESULT EndSave([in] BSTR FileName);
41  [id(0x00000015), helpstring("Triggered immediately after Argon receives a request to open an existing drawing")]
42  HRESULT BeginOpen([in, out] BSTR* FileName);
43  [id(0x00000016), helpstring("Triggered immediately after Argon finishes opening an existing drawing")]
44  HRESULT EndOpen([in] BSTR FileName);
45  [id(0x00000011), helpstring("Triggered immediately after a command is issued, but before it completes")]
46  HRESULT BeginCommand([in] BSTR CommandName);
47  [id(0x00000012), helpstring("Triggered immediately after a command completes")]
48  HRESULT EndCommand([in] BSTR CommandName);
49  [id(0x0000000f), helpstring("Triggered immediately after Argon receives a request to evaluate a LISP expression")]
50  HRESULT BeginLisp([in] BSTR FirstLine);
51  [id(0x00000010), helpstring("Triggered upon completion of evaluating a LISP expression")]
52  HRESULT EndLisp();
53  [id(0x00000018), helpstring("Triggered when the evaluation of a LISP expression is cancelled")]
54  HRESULT LispCancelled();
55  [id(0x00000019), helpstring("Triggered when there is a change to the application or document windows")]
56  HRESULT WindowChanged([in] AcWindowState WindowState);
57  };
58 
59  [
60  FX_IID_DAcadDocumentEvents,
61  helpstring("Event interface for ThisDrawing"),
62  hidden
63  ]
64  dispinterface _DAcadDocumentEvents
65  {
66  properties:
67  methods:
68  [id(0x00000001), helpstring("Triggered immediately after Argon receives a request to save the drawing")]
69  HRESULT BeginSave([in] BSTR FileName);
70  [id(0x00000002), helpstring("Triggered when Argon has finished saving the drawing")]
71  HRESULT EndSave([in] BSTR FileName);
72  [id(0x00000006), helpstring("Triggered immediately after a command is issued, but before it completes")]
73  HRESULT BeginCommand([in] BSTR CommandName);
74  [id(0x00000007), helpstring("Triggered immediately after a command completes")]
75  HRESULT EndCommand([in] BSTR CommandName);
76 
77  [id(0x00000008), helpstring("Triggered immediately after Argon receives a request to evaluate a LISP expression")]
78  HRESULT BeginLisp([in] BSTR FirstLine);
79  [id(0x00000009), helpstring("Triggered upon completion of evaluating a LISP expression")]
80  HRESULT EndLisp();
81  [id(0x0000000a), helpstring("Triggered when the evaluation of a LISP expression is cancelled")]
82  HRESULT LispCancelled();
83  [id(0x0000000b), helpstring("Triggered when the current pickfirst selection set changes")]
84  HRESULT SelectionChanged();
85  [id(0x0000000c), helpstring("Triggered when a document window is activated")]
86  HRESULT Activate();
87  [id(0x0000000d), helpstring("Triggered when the drawing window is deactivated")]
88  HRESULT Deactivate();
89  [id(0x0000000e), helpstring("Triggered after the user right-clicks on the drawing window")]
90  HRESULT BeginRightClick([in] VARIANT PickPoint);
91  [id(0x0000000f), helpstring("Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in default mode")]
92  HRESULT BeginShortcutMenuDefault([out] IDispatch** ShortcutMenu);
93  [id(0x00000010), helpstring("Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in edit mode")]
94  HRESULT BeginShortcutMenuEdit([out] IDispatch** ShortcutMenu, [out] IDispatch** SelectionSet);
95  [id(0x00000011), helpstring("Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in command mode")]
96  HRESULT BeginShortcutMenuCommand([out] IDispatch** ShortcutMenu, [in] BSTR Command);
97  [id(0x00000012), helpstring("Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in SGrip mode")]
98  HRESULT BeginShortcutMenuGrip([out] IDispatch** ShortcutMenu);
99  [id(0x00000013), helpstring("Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in ESnap mode")]
100  HRESULT BeginShortcutMenuOsnap([out] IDispatch** ShortcutMenu);
101  [id(0x0000001e), helpstring("Triggered after the shortcut menu appears")]
102  HRESULT EndShortcutMenu([out] IDispatch** ShortcutMenu);
103  [id(0x00000014), helpstring("Triggered after the user double-clicks on an object in the drawing")]
104  HRESULT BeginDoubleClick([in] VARIANT PickPoint);
105  [id(0x00000015), helpstring("Triggered when an object has been added to the drawing")]
106  HRESULT ObjectAdded([in] IDispatch* Object);
107  [id(0x00000016), helpstring("Triggered when an object has been erased from the drawing")]
108  HRESULT ObjectErased([in] long ObjectID);
109  [id(0x00000017), helpstring("Triggered when an object in the drawing has been modified")]
110  HRESULT ObjectModified([in] IDispatch* Object);
111  [id(0x00000018), helpstring("Triggered immediately after Argon receives a request to print a drawing")]
112  HRESULT BeginPlot([in] BSTR DrawingName);
113  [id(0x00000019), helpstring("Triggered after a document has been sent to the printer")]
114  HRESULT EndPlot([in] BSTR DrawingName);
115  [id(0x0000001d), helpstring("Happens when the drawing window is moved or resized.")]
116  HRESULT WindowMovedOrResized([in] long HWNDFrame, [in] VARIANT_BOOL bMoved);
117  [id(0x0000001f), helpstring("Triggered after the user switches to a different sheet")]
118  HRESULT LayoutSwitched([in] BSTR LayoutName);
119  [id(0x00000020), helpstring("Triggered when there is a change to the application or document windows")]
120  HRESULT WindowChanged([in] AcWindowState WindowState);
121  [id(0x00000021), helpstring("Triggered immediately after Argon receives a request to close a drawing")]
122  HRESULT BeginClose();
123  [id(0x00000022), helpstring("Triggered before the BeginClose event. This is an opportunity to cancel the closing process")]
124  HRESULT BeginDocClose([in, out] VARIANT_BOOL* Cancel);
125  };
126 #ifdef FX_ACTIVEX_DLL
127  [
128  uuid(7498CFD1-628E-4547-AE81-BB8DB54DCFA3),
129  helpstring("FxAxGLWidget Events Interface")
130  ]
131  dispinterface IFxAxGLWidgetEvents
132  {
133  properties:
134  methods:
135  /****** Stock events ******/
136  [id(DISPID_CLICK)] void Click();
137  [id(DISPID_DBLCLICK)] void DblClick();
138  [id(DISPID_KEYDOWN)] void KeyDown(short* KeyCode, short Shift);
139  [id(DISPID_KEYPRESS)] void KeyPress(short* KeyAscii);
140  [id(DISPID_KEYUP)] void KeyUp(short* KeyCode, short Shift);
141  [id(DISPID_MOUSEDOWN)] void MouseDown(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
142  [id(DISPID_MOUSEMOVE)] void MouseMove(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
143  [id(DISPID_MOUSEUP)] void MouseUp(short Button, short Shift, OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
144 
145  /****** Signal parameter uses unsupported datatype
146  [id(1)] void destroyed([in] QObject p0);
147  ******/
148  [id(2)] void destroyed_1();
149  [id(3)] void customContextMenuRequested([in] struct QAxPoint p_pos);
150  [id(4)] void writeText([in] BSTR p_text);
151  [id(5)] void setXCoordinate([in] BSTR p_xCoordinate);
152  [id(6)] void setYCoordinate([in] BSTR p_yCoordinate);
153  [id(7)] void setZCoordinate([in] BSTR p_zCoordinate);
154  [id(8)] void writeOptions([in] BSTR p_options);
155  };
156  [
157  FX_IID_DEvents,
158  helpstring("Event interface for ActiveX"),
159  hidden
160  ]
161  dispinterface _DEvents
162  {
163  properties:
164  methods:
165  [id(0x00000001), helpstring("Called before document starts expression processing")]
166  HRESULT BeginQuiescentState([in] IDispatch* document);
167  [id(0x00000002), helpstring("Called after document ends expression processing")]
168  HRESULT EndQuiescentState([in] IDispatch* document);
169  [id(0x00000003), helpstring("")]
170  HRESULT CommandCancelled([in] IDispatch* document);
171  [id(0x00000004), helpstring("")]
172  HRESULT CommandFailed([in] IDispatch* document);
173  };
174 #endif
_DAcadApplicationEvents::EndModal
HRESULT EndModal()
_DAcadApplicationEvents::BeginLisp
HRESULT BeginLisp([in] BSTR FirstLine)
_DAcadDocumentEvents::BeginDocClose
HRESULT BeginDocClose([in, out] VARIANT_BOOL *Cancel)
_DAcadDocumentEvents::WindowChanged
HRESULT WindowChanged([in] AcWindowState WindowState)
_DAcadDocumentEvents::SelectionChanged
HRESULT SelectionChanged()
_DAcadApplicationEvents::WindowChanged
HRESULT WindowChanged([in] AcWindowState WindowState)
_DAcadDocumentEvents::BeginShortcutMenuDefault
HRESULT BeginShortcutMenuDefault([out] IDispatch **ShortcutMenu)
_DAcadApplicationEvents::BeginQuit
HRESULT BeginQuit([in] VARIANT_BOOL *Cancel)
_DAcadDocumentEvents::ObjectModified
HRESULT ObjectModified([in] IDispatch *Object)
_DAcadDocumentEvents::BeginSave
HRESULT BeginSave([in] BSTR FileName)
_DAcadDocumentEvents::BeginShortcutMenuOsnap
HRESULT BeginShortcutMenuOsnap([out] IDispatch **ShortcutMenu)
_DAcadDocumentEvents::Activate
HRESULT Activate()
_DAcadDocumentEvents::BeginRightClick
HRESULT BeginRightClick([in] VARIANT PickPoint)
_DAcadApplicationEvents::NewDrawing
HRESULT NewDrawing()
_DAcadDocumentEvents::LispCancelled
HRESULT LispCancelled()
_DAcadDocumentEvents::EndShortcutMenu
HRESULT EndShortcutMenu([out] IDispatch **ShortcutMenu)
_DAcadApplicationEvents::EndLisp
HRESULT EndLisp()
_DAcadDocumentEvents::BeginShortcutMenuEdit
HRESULT BeginShortcutMenuEdit([out] IDispatch **ShortcutMenu, [out] IDispatch **SelectionSet)
_DAcadDocumentEvents::BeginShortcutMenuGrip
HRESULT BeginShortcutMenuGrip([out] IDispatch **ShortcutMenu)
_DAcadApplicationEvents
Definition: FxDispInterfaces.idl:7
_DAcadDocumentEvents::BeginClose
HRESULT BeginClose()
_DAcadDocumentEvents::WindowMovedOrResized
HRESULT WindowMovedOrResized([in] long HWNDFrame, [in] VARIANT_BOOL bMoved)
_DAcadApplicationEvents::ARXUnloaded
HRESULT ARXUnloaded([in] BSTR AppName)
_DAcadDocumentEvents::ObjectAdded
HRESULT ObjectAdded([in] IDispatch *Object)
_DAcadDocumentEvents
Definition: FxDispInterfaces.idl:65
_DAcadDocumentEvents::EndSave
HRESULT EndSave([in] BSTR FileName)
_DAcadApplicationEvents::AppDeactivate
HRESULT AppDeactivate()
_DAcadDocumentEvents::BeginCommand
HRESULT BeginCommand([in] BSTR CommandName)
_DAcadApplicationEvents::BeginOpen
HRESULT BeginOpen([in, out] BSTR *FileName)
_DAcadApplicationEvents::BeginCommand
HRESULT BeginCommand([in] BSTR CommandName)
_DAcadApplicationEvents::BeginFileDrop
HRESULT BeginFileDrop([in] BSTR FileName, [in] VARIANT_BOOL *Cancel)
_DAcadDocumentEvents::Deactivate
HRESULT Deactivate()
_DAcadApplicationEvents::AppActivate
HRESULT AppActivate()
_DAcadApplicationEvents::ARXLoaded
HRESULT ARXLoaded([in] BSTR AppName)
_DAcadApplicationEvents::BeginSave
HRESULT BeginSave([in] BSTR FileName)
_DAcadDocumentEvents::EndPlot
HRESULT EndPlot([in] BSTR DrawingName)
_DAcadDocumentEvents::BeginPlot
HRESULT BeginPlot([in] BSTR DrawingName)
_DAcadApplicationEvents::EndSave
HRESULT EndSave([in] BSTR FileName)
_DAcadDocumentEvents::BeginLisp
HRESULT BeginLisp([in] BSTR FirstLine)
_DAcadApplicationEvents::EndCommand
HRESULT EndCommand([in] BSTR CommandName)
_DAcadDocumentEvents::BeginDoubleClick
HRESULT BeginDoubleClick([in] VARIANT PickPoint)
_DAcadApplicationEvents::BeginPlot
HRESULT BeginPlot([in] BSTR DrawingName)
_DAcadApplicationEvents::SysVarChanged
HRESULT SysVarChanged([in] BSTR SysvarName, [in] VARIANT newVal)
_DAcadDocumentEvents::EndCommand
HRESULT EndCommand([in] BSTR CommandName)
_DAcadApplicationEvents::EndPlot
HRESULT EndPlot([in] BSTR DrawingName)
_DAcadDocumentEvents::BeginShortcutMenuCommand
HRESULT BeginShortcutMenuCommand([out] IDispatch **ShortcutMenu, [in] BSTR Command)
_DAcadDocumentEvents::LayoutSwitched
HRESULT LayoutSwitched([in] BSTR LayoutName)
_DAcadApplicationEvents::WindowMovedOrResized
HRESULT WindowMovedOrResized([in] long HWNDFrame, [in] VARIANT_BOOL bMoved)
_DAcadApplicationEvents::BeginModal
HRESULT BeginModal()
_DAcadApplicationEvents::LispCancelled
HRESULT LispCancelled()
_DAcadApplicationEvents::EndOpen
HRESULT EndOpen([in] BSTR FileName)
QAxPoint
Definition: FxInterfaces.idl:1783
_DAcadDocumentEvents::ObjectErased
HRESULT ObjectErased([in] long ObjectID)
_DAcadDocumentEvents::EndLisp
HRESULT EndLisp()