TB_SETBITMAPSIZE message

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

Parameters

wParam

Must be zero.

lParam

The LOWORD specifies the width, in pixels, of the bitmapped images. The HIWORD specifies the height, in pixels, of the bitmapped images.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

The size can be set only before adding any bitmaps to the toolbar. If an application does not explicitly set the bitmap size, the size defaults to 16 by 15 pixels.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: