Share via


TB_SETBUTTONWIDTH (Windows CE 5.0)

Send Feedback

This message sets the minimum and maximum button widths in the toolbar control.

TB_SETBUTTONWIDTHwParam= 0;lParam=(LPARAM)(DWORD) MAKELONG(cxMin,cxMax);

Parameters

  • wParam
    Not used.
  • cxMin
    Minimum button width, in pixels. Toolbar buttons are never narrower than this value.
  • cxMax
    Maximum button width, in pixels. If button text is too wide, the control displays it with ellipsis points.

Return Values

Nonzero indicates success. Zero indicates otherwise.

Requirements

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

See Also

Toolbar Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.