Contents Index Topic Contents | ||
Previous Topic: TB_SETPARENT Next Topic: TB_SETSTATE |
TB_SETROWS
TB_SETROWS wParam = (WPARAM) MAKEWPARAM(cRows, fLarger); lParam = (LPARAM) (LPRECT) lprc;Sets the number of rows of buttons in a toolbar.
- No return value.
- cRows
- 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.
- fLarger
- Flag that indicates whether to create more rows than requested when the system cannot create the number of rows specified by cRows. If this parameter is TRUE, the system creates more rows. If it is FALSE, the system creates fewer rows.
- lprc
- Address of a RECT structure that receives the bounding rectangle of the toolbar after the rows are set.
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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.