API Documentation
>
CorelDRAW
>
2025-v26
>
Application
>
IVGApplication
Application.ActiveWindow property
Gets the reference to the currently active window
Syntax:
Property
Get
ActiveWindow
(
)
As
Window
Remarks:
The
ActiveWindow
property returns the active window of the active document.
Examples:
The following VBA example redraws the active document window.
Sub WindowActive() ActiveWindow.Refresh End Sub