CWindow::GetExStyle
Retrieves the extended window styles of the window.
DWORD GetExStyle( ) const throw();
The window's extended styles.
To retrieve the regular window styles, call GetStyle.
//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();
Header: atlwin.h