CToolBarCtrl::SetBitmapSize

BOOL SetBitmapSize( CSize size );

Return Value

Nonzero if successful; otherwise zero.

Parameters

size

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

Remarks

Call this function to set the size of the actual bitmapped images to be added to a toolbar control.

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.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::SetButtonSize, CToolBarCtrl::GetItemRect