Export (0) Print
Expand All
Expand Minimize

TB_SETBUTTONWIDTH message

Sets the minimum and maximum button widths in the toolbar control.

Parameters

wParam

Must be zero.

lParam

The LOWORD specifies the minimum button width, in pixels. Toolbar buttons will never be narrower than this value.

The HIWORD specifies the maximum button width, in pixels. If button text is too wide, the control displays it with ellipsis points.

Return value

Returns nonzero if successful, or zero otherwise.

Remarks

Use TB_SETBUTTONWIDTH to set the maximum and minimum allowed widths for buttons before they are added. Use TB_SETBUTTONSIZE to set the actual size of buttons.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft