Compartilhar via


CBaseControlWindow::put_WindowState (Compact 2013)

3/26/2014

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlWindow Class