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