CBaseControlWindow::put_WindowStyle

Sets the standard Windows-based styles.

HRESULT put_WindowStyle(
long WindowStyle);

Parameters

  • WindowStyle
    New window styles.

Return Values

Returns an HRESULT value.

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.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.