CToolBarCtrl::SetButtonSize

This method sets the size of the buttons in the toolbar control. The button size must always be at least as large as the bitmap size it encloses. This method must be called only before adding any bitmaps to the toolbar.

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

BOOL SetButtonSize( CSize size );