Partager via


CWindow::GetExStyle

Retrieves the extended window styles of the window.

DWORD GetExStyle( ) const throw();

Return Value

The window's extended styles.

Remarks

To retrieve the regular window styles, call GetStyle.

Example

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::GetExStyle() to retrieve the extended styles of 
//the window

CWindow myWindow;
myWindow.Attach(hWnd);
DWORD dwExStyles = myWindow.GetExStyle();

Requirements

Header: atlwin.h

See Also

Concepts

CWindow Class

CWindow Members

CWindow::ModifyStyleEx