次の方法で共有


CBaseControlWindow::put_WindowStyleEx (Compact 2013)

3/26/2014

Sets the style of the control window.

Syntax

HRESULT put_WindowStyleEx(
  long WindowStyleEx
);

Parameters

  • WindowStyleEx
    [in] Value that specifies the style of the control window.

Return Value

Returns NOERROR.

Remarks

This method uses EX (extended) window styles. For a complete list of extended window styles, see the Win32 CreateWindowEx function.

To change the window style, retrieve the current window style, and then add or remove the necessary bit fields.

Do not use the following window styles because they are not validated:

  • WS_DISABLED
  • WS_HSCROLL
  • WS_ICONIC
  • WS_MAXIMIZE
  • WS_MINIMIZE
  • WS_VSCROLL

With some exceptions (noted here), the acceptable flags are the same as those allowed by the Win32 CreateWindow function.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseControlWindow Class