Düzenle

Aracılığıyla paylaş


TB_SETMAXTEXTROWS message

Sets the maximum number of text rows displayed on a toolbar button.

Parameters

wParam

Maximum number of rows of text that can be displayed.

lParam

Must be zero.

Return value

Returns nonzero if successful, or zero otherwise.

Remarks

To cause text to wrap, you must set the maximum button width by sending a TB_SETBUTTONWIDTH message. The text wraps at a word break; line breaks ("\n") in the text are ignored. Text in TBSTYLE_LIST toolbars is always shown on a single line.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h