CToolBarCtrl::SetBitmapSize

Sets the size of the actual bitmapped images to be added to a toolbar control.

BOOL SetBitmapSize( 
   CSize size  
);

size

Width and height, in pixels, of the bitmapped images.

Nonzero if successful; otherwise zero.

This function must be called only before adding any bitmaps to the toolbar. If the application does not explicitly set the bitmap size, it defaults to 16 by 15 pixels.

Header: afxcmn.h

Community Additions

ADD
Show: