API Documentation > CorelDRAW > 2025-v26 > AppWindow > IVGAppWindow
AppWindow.Caption property
Gets or sets the application's window caption
Syntax:
Property Get Caption() As String
Property Let Caption(ByVal Value As String)
Remarks:
The Caption property returns or specifies the display text of the main application window. The caption appears as text in the title bar of the application window. If the document window is maximized when using the Caption property, the document title also displays after the caption in the title bar of the main application window.
Examples:
The following VBA example sets the caption of the CorelDRAW main application window.
Sub AppWindowCaption()
AppWindow.Caption = "My Draw Application" 
End Sub
The following VBA example resets the caption.
Sub ResetCaption()
Dim NewCaption As String
NewCaption = "My New Caption"
If AppWindow.Caption <> NewCaption Then
  AppWindow.Caption = NewCaption
End If 
End Sub