Megosztás a következőn keresztül:


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

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::SetMetrics

Other Resources

CToolBarCtrl Members