共用方式為


CWnd::GetStyle

Returns the current window style.

DWORD GetStyle( ) const;

Return Value

The window's style. For more information about the window styles used in MFC, see Window Styles.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

GetWindowLong

Concepts

CWnd Members