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


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

См. также

Ссылки

CWindow Class

CWindow::ModifyStyle

Стили окна