CWindow::GetStyle

DWORD GetStyle( ) const;

Return Value

The window's styles.

Remarks

Retrieves the window styles of the window.

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(hWndFoo);
DWORd dwStyles = myWindow.GetStyle();

CWindow OverviewClass Members

See Also   CWindow::ModifyStyle