Partager via


TB_SETBUTTONSIZE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Toolbar Controls Messages