RB_SIZETORECT message
Attempts to find the best layout of the bands for the given rectangle.
Parameters
-
wParam
- Must be zero.
-
lParam
-
Pointer to a RECT structure that specifies the rectangle to which the rebar control should be sized.
Return value
Returns nonzero if a layout change occurred, or zero otherwise.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|