Freigeben über


WMAXIMUM( ) Function

Determines whether the active or specified window is maximized.

WMAXIMUM([WindowName])

Parameters

  • WindowName
    Specifies the name of the window WMAXIMUM( ) 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, WMAXIMUM( ) returns a logical value for the active window. You can also use the empty string for WindowName to specify the main Visual FoxPro window.

Remarks

Windows can be enlarged to fill the window that contains them. In Visual FoxPro for Windows, the default container window is the main window.

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

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

See Also

DEFINE WINDOW | WMINIMUM( ) | ZOOM WINDOW