共用方式為


AFX_GLOBAL_DATA::GetNonClientMetrics

Retrieves the metrics associated with the nonclient area of nonminimized windows.

BOOL GetNonClientMetrics(
   NONCLIENTMETRICS& info
);

Parameters

  • [in, out] info
    A NONCLIENTMETRICS structure that contains the scalable metrics associated with the nonclient area of a nonminimized window.

Return Value

TRUE if this method succeeds; otherwise, FALSE.

Requirements

Header: afxglobals.h

See Also

Reference

AFX_GLOBAL_DATA Structure

Hierarchy Chart

NONCLIENTMETRICS Structure