Constructs an editor reactor object that notifies of an event related to moving or sizing an AutoCAD window
(vlr-window-reactor data callbacks)
Arguments
nil if no data.
Any AutoLISP data to be associated with the reactor object; otherwiseA list of pairs of the following form:
(event-name . callback_function)
where event-name is one of the symbols listed in the âWindow reactor eventsâ table below, and callback_function is a symbol representing a function to be called when the event fires. Each callback function accepts two arguments:
reactor_objectâThe VLR object that called the callback function.
listâA list of extra data elements associated with the particular event. The contents of this list for particular events are shown in the âWindow reactor callback dataâ table.
Return Values
The reactor_object argument.
Window reactor events |
|
---|---|
Event name |
Description |
:vlr-docFrameMovedOrResized |
An MDI child frame window (a document window) has been moved or resized. |
:vlr-mainFrameMovedOrResized |
The main AutoCAD window has been moved or resized. |
â
Window reactor callback data |
||
---|---|---|
Name |
List length |
Parameters |
:vlr-docFrameMovedOrResized :vlr-mainFrameMovedOrResized |
2 |
The first parameter is an integer containing the HWND of the window. The second parameter indicates whether the window has been moved or resized. The value is T if the window has been moved, nil if the window has been resized. |