Compartir a través de


CWindow::GetStyle

Recupera los estilos de ventana.

DWORD GetStyle( ) const throw();

Valor devuelto

los estilos de la ventana.

Comentarios

Para recuperar los estilos de ventana extendidas, llame a GetExStyle.

Ejemplo

//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();

Requisitos

encabezado: atlwin.h

Vea también

Referencia

Clase de CWindow

CWindow::ModifyStyle

Estilos de ventana