RB_SIZETORECT (Windows CE 5.0)

Send Feedback

This message tries to fit a rebar control to a specified rectangle.

RB_SIZETORECT wParam= 0;lParam = (LPARAM)(LPRECT)prc;

Parameters

  • wParam
    Not used.
  • prc
    Pointer to a RECT structure that specifies the rectangle that the rebar control should be sized to.

Return Values

Returns nonzero if a layout change occurred, or zero otherwise.

Remarks

The rebar bands will be 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.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.