TB_SETBITMAPSIZE
This message sets the size of the bitmapped images to be added to a toolbar.
TB_SETBITMAPSIZE wParam = 0;
lParam = (LPARAM)MAKELONG(dxBitmap,dyBitmap);
Parameters
- dxBitmap
Specifies the width, in pixels, of the bitmapped images. - dyBitmap
Specifies the height, in pixels, of the bitmapped images.
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
The default image width is 16 pixels and the default image height is 15 pixels. If the size of the bitmap is not the default or if you have multiple images in a bitmap, you must call TB_SETBITMAPSIZE to change the default size settings. Otherwise, the bitmap or image is truncated or is not displayed.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.