Microsoft DirectX 8.1 (C++)

CBaseControlWindow::DoGetWindowStyle

The DoGetWindowStyle method retrieves the current normal or extended window styles.

Syntax

HRESULT DoGetWindowStyle(
    long *pStyle,
    long WindowLong
);

Parameters

pStyle

Pointer to a variable that receives the style information.

WindowLong

Value specifying which styles to retrieve. Must be one of the following:

GWL_STYLE Retrieve the window styles.
GWL_EXSTYLE Retrieve the extended window styles.

Return Value

Returns an HRESULT value.

Remarks

This member function calls the Win32 GetWindowLong function to retrieve the window style. It is called by the CBaseControlWindow::get_WindowStyle and CBaseControlWindow::get_WindowStyleEx member functions.

See Also