CToolBarCtrl::SetMetrics

Sets the metrics of the CToolBarCtrl object.

void SetMetrics(
   LPTBMETRICS ptbm 
);

Parameters

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

Remarks

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

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::GetMetrics

Other Resources

CToolBarCtrl Members