Share via


CBaseControlWindow::DoSetWindowStyle

Changes the typical or extended window styles.

HRESULT DoSetWindowStyle(
  long Style,
  long WindowLong
);

Parameters

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

Return Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 3.0 and later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.