Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 1.46 KB

tb-setbitmapsize.md

File metadata and controls

62 lines (39 loc) · 1.46 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
TB_SETBITMAPSIZE message (Commctrl.h)
Sets the size of the bitmapped images to be added to a toolbar.
20b99cd8-6ef1-4037-92d2-c64a1003b5fe
TB_SETBITMAPSIZE message Windows Controls
apiref
TB_SETBITMAPSIZE
Commctrl.h
HeaderDef
reference
05/31/2018

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

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h