BOOL GetRect(UINT uBand, LPRECT prc) const;
Return Value
Nonzero if successful; otherwise zero.
Parameters
uBand
Zero-based index of a band in the rebar control.
prc
A pointer to a RECT structure that will receive the bounds of the rebar band.
Remarks
This member function implements the behavior of the Win32 message RB_GETRECT, as described in the Platform SDK.
Example
CRect rc;
m_wndReBar.GetReBarCtrl().GetRect(0, &rc);
CString msg;
msg.Format("rect.left = %d, rect.top = %d,
rect.right = %d, rect.bottom = %d", rc.left,
rc.top, rc.right, rc.bottom);
AfxMessageBox(msg);
CReBarCtrl Overview | Class Members | Hierarchy Chart
See Also CReBarCtrl::SizeToRect