![]() |
![]() |
AppWindow.WindowState
Property WindowState As cdrWindowState
Member of AppWindow
The WindowState property returns or sets the current window state of the CorelDRAW main application window. This window can be minimized, maximized or in a normal state.
The following code example begins with the application window maximized, sets the current window state to minimized, and displays a message that the window has been minimized. The main application window is then restored to a maximized state.
Sub AppWindowWindowState() Dim state As cdrWindowState state = cdrWindowMaximized AppWindow.WindowState = cdrWindowMinimized MsgBox "CorelDRAW is now minimized." AppWindow.WindowState = state End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.