Export (0) Print
Expand All
Expand Minimize

TB_SETROWS message

Sets the number of rows of buttons in a toolbar.

Parameters

wParam

The LOWORD specifies the number of rows requested. The minimum number of rows is one, and the maximum number of rows is equal to the number of buttons in the toolbar.

The HIWORD is a BOOL that indicates whether to create more rows than requested when the system cannot create the number of rows specified by wParam. If TRUE, the system creates more rows. If FALSE, the system creates fewer rows.

lParam

Pointer to a RECT structure that receives the bounding rectangle of the toolbar after the rows are set.

Return value

No return value.

Remarks

Because the system does not break up button groups when setting the number of rows, the resulting number of rows might differ from the number requested.

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