Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft