Share via


CBaseControlWindow::put_WindowStyle (Compact 2013)

3/26/2014

Sets the standard Windows-based styles.

Syntax

HRESULT put_WindowStyle(
  long WindowStyle
);

Parameters

  • WindowStyle
    New window styles.

Return Value

Returns an HRESULT value.

Remarks

Take care when changing the window styles. In most cases, an application should retrieve the current style and then add or remove the inappropriate bits. This procedure allows various internal window styles used by Windows to remain intact.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseControlWindow Class