Partager via


CBaseControlWindow::DoSetWindowStyle (Windows Embedded CE 6.0)

1/6/2010

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

Windows Embedded CE Windows CE 3.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

CBaseControlWindow Class