2 FX_IID_DAcadApplicationEvents,
3 helpstring(
"Event interface for AcadApplication"),
10 [id(0x00000001), helpstring(
"Triggered when the value of a system variable is changed")]
12 [id(0x00000002), helpstring(
"Triggered just before a new drawing is created")]
14 [id(0x00000003), helpstring(
"Triggered just before the main application window is activated")]
16 [id(0x00000004), helpstring(
"Triggered just before the main application window is deactivated")]
18 [id(0x00000005), helpstring(
"Happens when the main frame window is moved or resized")]
20 [id(0x00000006), helpstring(
"Triggered just before a modal dialog is displayed")]
22 [id(0x00000007), helpstring(
"Triggered just after a modal dialog is dismissed")]
24 [id(0x00000008), helpstring(
"Triggered just before an Argon session ends or a document closes")]
26 [id(0x0000000a), helpstring(
"Triggered when a file is dropped on the main application window")]
29 [id(0x0000000b), helpstring(
"Triggered when an Argon application has been loaded")]
31 [id(0x0000000c), helpstring(
"Triggered when an Argon application has been unloaded")]
33 [id(0x0000000d), helpstring(
"Triggered immediately after Argon receives a request to print a drawing")]
35 [id(0x0000000e), helpstring(
"Triggered after a document has been sent to the printer")]
37 [id(0x00000013), helpstring(
"Triggered immediately after Argon receives a request to save the drawing")]
39 [id(0x00000014), helpstring(
"Triggered when Argon has finished saving the drawing")]
41 [id(0x00000015), helpstring(
"Triggered immediately after Argon receives a request to open an existing drawing")]
43 [id(0x00000016), helpstring(
"Triggered immediately after Argon finishes opening an existing drawing")]
45 [id(0x00000011), helpstring(
"Triggered immediately after a command is issued, but before it completes")]
47 [id(0x00000012), helpstring(
"Triggered immediately after a command completes")]
49 [id(0x0000000f), helpstring(
"Triggered immediately after Argon receives a request to evaluate a LISP expression")]
51 [id(0x00000010), helpstring(
"Triggered upon completion of evaluating a LISP expression")]
53 [id(0x00000018), helpstring(
"Triggered when the evaluation of a LISP expression is cancelled")]
55 [id(0x00000019), helpstring(
"Triggered when there is a change to the application or document windows")]
60 FX_IID_DAcadDocumentEvents,
61 helpstring(
"Event interface for ThisDrawing"),
68 [id(0x00000001), helpstring(
"Triggered immediately after Argon receives a request to save the drawing")]
70 [id(0x00000002), helpstring(
"Triggered when Argon has finished saving the drawing")]
72 [id(0x00000006), helpstring(
"Triggered immediately after a command is issued, but before it completes")]
74 [id(0x00000007), helpstring(
"Triggered immediately after a command completes")]
77 [id(0x00000008), helpstring(
"Triggered immediately after Argon receives a request to evaluate a LISP expression")]
79 [id(0x00000009), helpstring(
"Triggered upon completion of evaluating a LISP expression")]
81 [id(0x0000000a), helpstring(
"Triggered when the evaluation of a LISP expression is cancelled")]
83 [id(0x0000000b), helpstring(
"Triggered when the current pickfirst selection set changes")]
85 [id(0x0000000c), helpstring(
"Triggered when a document window is activated")]
87 [id(0x0000000d), helpstring(
"Triggered when the drawing window is deactivated")]
89 [id(0x0000000e), helpstring(
"Triggered after the user right-clicks on the drawing window")]
91 [id(0x0000000f), helpstring(
"Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in default mode")]
93 [id(0x00000010), helpstring(
"Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in edit mode")]
95 [id(0x00000011), helpstring(
"Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in command mode")]
97 [id(0x00000012), helpstring(
"Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in SGrip mode")]
99 [id(0x00000013), helpstring(
"Triggered after the user right-clicks on the drawing window, and before the shortcut menu appears in ESnap mode")]
101 [id(0x0000001e), helpstring(
"Triggered after the shortcut menu appears")]
103 [id(0x00000014), helpstring(
"Triggered after the user double-clicks on an object in the drawing")]
105 [id(0x00000015), helpstring(
"Triggered when an object has been added to the drawing")]
107 [id(0x00000016), helpstring(
"Triggered when an object has been erased from the drawing")]
109 [id(0x00000017), helpstring(
"Triggered when an object in the drawing has been modified")]
111 [id(0x00000018), helpstring(
"Triggered immediately after Argon receives a request to print a drawing")]
113 [id(0x00000019), helpstring(
"Triggered after a document has been sent to the printer")]
115 [id(0x0000001d), helpstring(
"Happens when the drawing window is moved or resized.")]
117 [id(0x0000001f), helpstring(
"Triggered after the user switches to a different sheet")]
119 [id(0x00000020), helpstring(
"Triggered when there is a change to the application or document windows")]
121 [id(0x00000021), helpstring(
"Triggered immediately after Argon receives a request to close a drawing")]
123 [id(0x00000022), helpstring(
"Triggered before the BeginClose event. This is an opportunity to cancel the closing process")]
126 #ifdef FX_ACTIVEX_DLL
128 uuid(7498CFD1-628E-4547-AE81-BB8DB54DCFA3),
129 helpstring(
"FxAxGLWidget Events Interface")
131 dispinterface IFxAxGLWidgetEvents
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);
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);
158 helpstring(
"Event interface for ActiveX"),
161 dispinterface _DEvents
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);