TB_SETBUTTONSIZE

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

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

Parameters

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.