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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft