Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Syntax

RB_SIZETORECT 
wParam = 0; 

lParam = (LPARAM)(LPRECT) 
prc;

Parameters

wParam

Not used.

prc

Pointer to a RECTstructure that specifies the rectangle that the rebar control should be sized to.

Return Value

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

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

RECT