Microsoft Windows CE 3.0  

CBaseControlWindow::put_WindowStyle

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 standard Windows-based styles.

HRESULT put_WindowStyle(
long
WindowStyle
);

Parameters

WindowStyle
New window styles.

Return Values

Returns an HRESULTvalue.

Remarks

Take care when changing the window styles. In most cases, an application should retrieve the current style and then add or remove the inappropriate bits. This procedure allows various internal window styles used by Windows to remain intact.