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 |
|
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