CWindow::GetStyle
检索窗口的窗口样式。
DWORD GetStyle( ) const throw();
返回值
窗口的样式。
备注
若要检索扩展的窗口样式,请调用 GetExStyle。
示例
//The following example attaches an HWND to the CWindow object and
//calls CWindow::GetStyle() to retrieve the styles of the window
CWindow myWindow;
myWindow.Attach(hWnd);
DWORD dwStyles = myWindow.GetStyle();
要求
Header: atlwin.h