Condividi tramite


CMFCToolBarEditBoxButton::GetEditBorder

Retrieves the bounding rectangle of the edit part of the edit box button.

virtual void GetEditBorder(
   CRect& rectBorder
);

Parameters

  • [out] rectBorder
    A reference to the CRect object that receives the bounding rectangle.

Remarks

This method retrieves the bounding rectangle of the edit control in client coordinates. It expands the size of the rectangle in each direction by one pixel.

The CMFCVisualManager::OnDrawEditBorder method calls this method when it draws the border around a CMFCToolBarEditBoxButton object.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart

CMFCVisualManager::OnDrawEditBorder