WindowChanged Event |
Triggered when there is a change to the application or document windows.
Signature
object.WindowChanged(WindowState)
object
Application object, Document object
The object or objects this event applies to.
WindowState
Integer; input to the handler.
acMin |
The window is minimized. |
acMax |
The window is maximized. |
acNorm |
The window is normal (neither minimized nor maximized). |
Remarks
This event is helpful when implementing toolbars or modeless dialog boxes that track with the application or document window. The VB or ObjectARX application can use the HWNDFrame parameter to get the coordinates of the window, convert those coordinates to either screen or parent coordinates, and use this information to position other windows.
No events will be fired while a modal dialog is being displayed.
Comments? |