Contents Index Topic Contents | ||
Previous Topic: TB_SETBUTTONINFO Next Topic: TB_SETBUTTONWIDTH |
TB_SETBUTTONSIZE
TB_SETBUTTONSIZE wParam = 0; lParam = (LPARAM) MAKELONG(dxButton, dyButton)Sets the size of the buttons to be added to a toolbar.
- Returns TRUE if successful, or FALSE otherwise.
- dxButton
- Width, in pixels, of the buttons.
- dyButton
- Height, in pixels, of the buttons.
The size can be set only before adding any buttons to the toolbar. If an application does not explicitly set the button size, the size defaults to 24 by 22 pixels.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.