Microsoft DirectX 9.0

CBaseControlWindow::get_WindowState

The get_WindowState method retrieves the current window state.

Syntax

HRESULT get_WindowState(
    long *pWindowState
);

Parameters

pWindowState

Pointer to the window state.

Return Value

Returns an HRESULT value.

Remarks

This member function returns a subset of the parameters of the Microsoft Win32 ShowWindow function. In particular, it returns SW_SHOW and SW_HIDE, depending on the current visibility of the window. It also returns SW_MINIMIZE and SW_MAXIMIZE, depending on whether the window is an icon or is expanded.

See Also