Microsoft DirectX 8.1 (C++)

CBaseControlWindow::put_WindowStyle

The put_WindowStyle method sets the standard window styles.

Syntax

HRESULT put_WindowStyle(
    long WindowStyle
);

Parameters

WindowStyle

New window styles.

Return Value

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.

See Also