Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IVideoWindow::put_WindowStyleEx

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This method sets the style of the control window.


HRESULT put_WindowStyleEx(
  long pWindowStyleEx
);

pWindowStyleEx

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

Returns NOERROR.

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

Use this property to change the overall style of the video window; for example, to remove the border and caption areas of the video window.

It is a fairly thin wrapper on top of setting the GWL_STYLE value of the Win32 GetWindowLong function and therefore must be treated with care.

Be sure the current styles are first retrieved, and then the necessary bit fields are added or removed.

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.

Windows Embedded CEWindows CE 2.12 and later
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
NoteMicrosoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

Community Additions

Show:
© 2014 Microsoft