CToolBarCtrl::AutoSize

void AutoSize( );

Remarks

Call this function to resize the entire toolbar control. 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).

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::SetBitmapSize, CToolBarCtrl::SetButtonSize, CToolBarCtrl::AddString, CToolBarCtrl::AddStrings