CMFCCaptionButton::GetRect
Returns the rectangle occupied by the button.
virtual CRect GetRect() const;
Return Value
The rectangle that represents the location of the button.
Remarks
If you cannot see the button, the size returned is 0.
Requirements
Header: afxcaptionbutton.h