Compartilhar via


CBaseControlWindow::DoSetWindowStyle (Compact 2013)

3/26/2014

Changes the typical or extended window styles.

Syntax

HRESULT DoSetWindowStyle(
  long Style,
  long WindowLong
);

Parameters

  • Style
    Appropriate window styles.
  • WindowLong
    Either GWL_STYLE or GWL_EXSTYLE.

Return Value

Returns an HRESULT value.

Remarks

This member function calls the Win32 SetWindowLong function to set the window style, and then redisplays the window in the current position.

This member function is called by the CBaseControlWindow::put_WindowStyle and CBaseControlWindow::put_WindowStyleEx member functions.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseControlWindow Class