CWindow::GetExStyle

检索窗口的扩展窗口样式。

DWORD GetExStyle( ) const throw();

返回值

窗口的扩展的样式。

备注

若要检索正常窗口样式,请调用 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

请参见

参考

CWindow选件类

CWindow::ModifyStyleEx