Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the window styles of the window.
DWORD GetStyle( ) const throw();
Return Value
The window's styles.
Remarks
To retrieve the extended window styles, call GetExStyle.
Example
//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();
Requirements
Header: atlwin.h