API Documentation > CorelDRAW > 2025-v26 > Application > IVGApplication
Application.AppWindow property
Gets the reference to the application's main window
Syntax:
Property Get AppWindow() As AppWindow
Remarks:
The AppWindow property returns the main application window.
Examples:
The following VBA example displays the caption of the main application window in a message box.
Sub CaptionAppWindow()
MsgBox AppWindow.Caption 
End Sub