Contents Index Topic Contents | ||
Previous Topic: RB_SHOWBAND Next Topic: Rebar Control Notification Messages |
RB_SIZETORECT
RB_SIZETORECT wParam = 0; lParam = (LPARAM)(LPRECT) prc;Attempts to find the best layout of the bands for the given rectangle.
- Returns nonzero if a layout change occurred, or zero otherwise.
- prc
- Address of a RECT structure that specifies the rectangle to which the rebar control should be sized.
The rebar bands will be arranged and wrapped as necessary to fit the rectangle.
Bands that have the RBBS_VARIABLEHEIGHT style will be resized as evenly as possible to fit the rectangle.
The height of a horizontal rebar or the width of a vertical rebar may change, depending on the new layout.Version 4.71
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.