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 |
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for