Share via


TB_SETBUTTONSIZE (Compact 2013)

3/28/2014

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

Syntax

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 Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

commctrl.h

See Also

Reference

Toolbar Controls Messages