共用方式為


CToolBarCtrl::GetMetrics

Retrieves the metrics of the CToolBarCtrl object.

void GetMetrics(
   LPTBMETRICS ptbm
) const;

Parameters

  • ptbm
    A pointer to the TBMETRICS structure of the CToolBarCtrl object.

Remarks

This member function emulates the functionality of the TB_GETMETRICS message, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Concepts

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

CToolBarCtrl::SetMetrics