CReBarCtrl::SizeToRect

BOOL SizeToRect( CRect& rect );

Return Value

Nonzero if successful; otherwise zero.

Parameters

rect

 A reference to a CRect object that specifies the rectangle that the rebar control should be sized to.

Remarks

This member function implements the behavior of the Win32 message RB_SIZETORECT, as described in the Platform SDK.

Note that this member function uses a CRect object as a parameter, rather than a RECT structure.

CReBarCtrl OverviewClass MembersHierarchy Chart

See Also   CReBarCtrl::GetRect