Condividi tramite


WMINIMUM( ) Function

Determines whether the active or specified window is minimized.

WMINIMUM([WindowName])

Return Values

Logical

Parameters

  • WindowName
    Specifies the name of the window WMINIMUM( ) evaluates. You can specify the name of a Visual FoxPro system window (the Command window, the Data Session window, a Browse window, and so on).

    If you omit WindowName, WMINIMUM( ) returns a logical value for the active window. You can also include the empty string in WindowName to specify the main Visual FoxPro window.

Remarks

In Visual FoxPro for Windows, windows can be reduced to an icon.

A user-defined window created with DEFINE WINDOW can be minimized only if the MINIMIZE keyword is included in its definition.

WMINIMUM( ) returns true (.T.) if the current or specified window is minimized; otherwise it returns false (.F.). In Visual FoxPro, you can include the name of a toolbar. However, WMINIMUM( ) always returns false (.F.) for a toolbar because toolbars cannot be minimized.

See Also

DEFINE WINDOW | WMAXIMUM( ) | ZOOM WINDOW