CToolBarCtrl::AutoSize

This method resizes the entire toolbar control. Call this method 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.

At a Glance

Header file: Afxcmn.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

void AutoSize( );