This topic has not yet been rated - Rate this topic

TB_SETBUTTONWIDTH (Windows Embedded Compact 7)

1/23/2013

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


TB_SETBUTTONWIDTH wParam = 0;
    lParam = (LPARAM)(DWORD) MAKELONG(cxMin,cxMax);
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.

Nonzero indicates success. Zero indicates otherwise.

Header

commctrl.h

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.