TB_SETBUTTONSIZETB_SETBUTTONSIZE*
*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.

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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.