Share via


CBaseControlWindow::put_WindowState

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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 Win32 ShowWindow function (for example, WS_SHOWNORMAL, WS_SHOWMINNOACTIVATE, and WS_SHOWMAXIMIZED).

Requirements

Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment