Поделиться через


CWindow::GetStyle

Retrieves the window styles of the window.

DWORD GetStyle( ) const throw();

Возвращаемое значение

The window's styles.

Заметки

To retrieve the extended window styles, call 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

См. также

Основные понятия

CWindow Class

CWindow Members

CWindow::ModifyStyle

Window Styles