Microsoft DirectX 9.0


The put_WindowStyleEx method sets the extended window styles.


HRESULT put_WindowStyleEx(
    long WindowStyleEx



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

Return Value

Returns NOERROR.


This method uses extended window styles. For a complete list of extended window styles, see the Microsoft Win32 CreateWindowEx function. To change the window style, retrieve the current window style, and then add or remove the necessary bit fields.

Do not use the following window styles because they are not validated.

With some exceptions (noted here), the acceptable flags are the same as those allowed by the Win32 CreateWindow function.

See Also