CBaseControlWindow::put_WindowState

 
Microsoft DirectShow 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).

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also