Microsoft DirectX 9.0

CBaseControlWindow::put_WindowState

The put_WindowState method sets the window state.

Syntax

HRESULT put_WindowState(
    long WindowState
);

Parameters

WindowState

New window state.

Return Value

Returns an HRESULT value.

Remarks

This member function takes the same parameters as the Microsoft Win32 ShowWindow function (for example, WS_SHOWNORMAL, WS_SHOWMINNOACTIVATE, and WS_SHOWMAXIMIZED).

See Also