Window_GetState()

Examples


The Window_GetState() function retrieves the visual state for a window.

Syntax

Window_GetState(window window_name)

Parameters

window window_name – The window whose state is being retrieved.

Return value

An integer indicating the window state. The value corresponds to one of the following constants:

[spacer]

Constant

Description

WINDOW_STATE_MAXIMIZED

The window is in the maximized state.

WINDOW_STATE_MINIMIZED

The window is in the minimized state.

WINDOW_STATE_NORMAL

The window is in the normal state.

WINDOW_STATE_MODAL

The window is modal.

WINDOW_STATE_UNKNOWN

The window is in an unknown state.



Documentation Feedback