Partager via


TB_SETBUTTONSIZE

This message sets the size of the buttons to be added to a toolbar.

TB_SETBUTTONSIZE wParam = 0;
  lParam = (LPARAM)MAKELONG(dxButton,dyButton);

Parameters

  • wParam
    Not used.
  • dxButton
    Specifies the width, in pixels, of the buttons.
  • dyButton
    Specifies the height, in pixels, of the buttons.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

Toolbar Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.