Microsoft Windows CE 3.0  

IVideoWindow::put_WindowStyleEx

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Sets the style of the control window.

HRESULT put_WindowStyleEx(
long
pWindowStyleEx
);

Parameters

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

Return Values

Returns NOERROR.

Remarks

This method uses EX window styles. For a complete list of extended window styles, see the CreateWindowExfunction in the Microsoft Win32 Software Development Kit (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 Microsoft Win32 GetWindowLongfunction and therefore must be treated with care. In particular, ensure that 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 CreateWindowfunction.