The Window_SetState() function sets the visual state for a window.
Window_SetState(window window_name, state)
• window window_name – The window whose state is being set.
• state – An integer indicating the window state. The value corresponds to one of the following constants:
Constant |
Description |
---|---|
WINDOW_STATE_MAXIMIZED |
Sets the window to its maximized state. |
WINDOW_STATE_MINIMIZED |
Sets the window to its minimized state. |
WINDOW_STATE_NORMAL |
Restores the window from the minimized or maximized state. |
A boolean. True indicates the window state was set, while false indicates it was not.