共用方式為


CBaseControlWindow::put_WindowStyle

 
Microsoft DirectShow 9.0

CBaseControlWindow::put_WindowStyle

The put_WindowStyle method sets the standard window 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:** Declared in Ctlutil.h; include Streams.h.

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

See Also