Partager via


CToolBarCtrl::AutoSize

Resizes the entire toolbar control.

void AutoSize( );

Remarks

You should call this function when the size of the parent window changes or when the size of the toolbar changes (such as when you set the button or bitmap size, or add strings).

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::SetBitmapSize

CToolBarCtrl::SetButtonSize

CToolBarCtrl::AddString

CToolBarCtrl::AddStrings