_DAcadApplicationEvents
Event interface for AcadApplication
Supported Platforms: Windows only
Members
These members are part of this object:
Methods- SysVarChanged
- NewDrawing
- AppActivate
- AppDeactivate
- WindowMovedOrResized
- BeginModal
- EndModal
- BeginQuit
- BeginFileDrop
- ARXLoaded
- ARXUnloaded
- BeginPlot
- EndPlot
- BeginSave
- EndSave
- BeginOpen
- EndOpen
- BeginCommand
- EndCommand
- BeginLisp
- EndLisp
- LispCancelled
- WindowChanged
- SysVarChanged()
HRESULT SysVarChanged([in] BSTR SysvarName, [in] VARIANT newVal)
Triggered when the value of a system variable is changed
- NewDrawing()
HRESULT NewDrawing( )
Triggered just before a new drawing is created
- AppActivate()
HRESULT AppActivate( )
Triggered just before the main application window is activated
- AppDeactivate()
HRESULT AppDeactivate( )
Triggered just before the main application window is deactivated
- WindowMovedOrResized()
HRESULT WindowMovedOrResized([in] Integer HWNDFrame, [in] Boolean bMoved)
Happens when the main frame window is moved or resized
- BeginModal()
HRESULT BeginModal( )
Triggered just before a modal dialog is displayed
- EndModal()
HRESULT EndModal( )
Triggered just after a modal dialog is dismissed
- BeginQuit()
HRESULT BeginQuit([in] Pointer Type Cancel)
Triggered just before an Argon session ends or a document closes
- BeginFileDrop()
HRESULT BeginFileDrop([in] BSTR FileName, [in] Pointer Type Cancel)
Triggered when a file is dropped on the main application window
- ARXLoaded()
HRESULT ARXLoaded([in] BSTR AppName)
Triggered when an Argon application has been loaded
- ARXUnloaded()
HRESULT ARXUnloaded([in] BSTR AppName)
Triggered when an Argon application has been unloaded
- BeginPlot()
HRESULT BeginPlot([in] BSTR DrawingName)
Triggered immediately after Argon receives a request to print a drawing
- EndPlot()
HRESULT EndPlot([in] BSTR DrawingName)
Triggered after a document has been sent to the printer
- BeginSave()
HRESULT BeginSave([in] BSTR FileName)
Triggered immediately after Argon receives a request to save the drawing
- EndSave()
HRESULT EndSave([in] BSTR FileName)
Triggered when Argon has finished saving the drawing
- BeginOpen()
HRESULT BeginOpen([in, out] Pointer Type FileName)
Triggered immediately after Argon receives a request to open an existing drawing
- EndOpen()
HRESULT EndOpen([in] BSTR FileName)
Triggered immediately after Argon finishes opening an existing drawing
- BeginCommand()
HRESULT BeginCommand([in] BSTR CommandName)
Triggered immediately after a command is issued, but before it completes
- EndCommand()
HRESULT EndCommand([in] BSTR CommandName)
Triggered immediately after a command completes
- BeginLisp()
HRESULT BeginLisp([in] BSTR FirstLine)
Triggered immediately after Argon receives a request to evaluate a LISP expression
- EndLisp()
HRESULT EndLisp( )
Triggered upon completion of evaluating a LISP expression
- LispCancelled()
HRESULT LispCancelled( )
Triggered when the evaluation of a LISP expression is cancelled
- WindowChanged()
HRESULT WindowChanged(AcWindowStateShort WindowState)
Triggered when there is a change to the application or document windows