API Documentation
>
CorelDRAW
>
2025-v26
>
Window
>
IVGWindow
Window.Handle property
Gets the window handle for the document window
Syntax:
Property
Get
Handle
(
)
As
Long
Remarks:
The
Handle
property returns the window handle for a document window.
Examples:
The following VBA example displays the window handle for the active window.
Sub Test() MsgBox "The window handle is: " & ActiveWindow.Handle & "." End Sub