共用方式為


CMFCTabCtrl::CalcRectEdit

Deflates the size of the specified tab area.

virtual void CalcRectEdit(
   CRect& rectEdit
);

Parameters

  • [in] rectEdit
    A rectangle that specifies the area of a tab.

Remarks

This method is called when you change the label of a tab. This method deflates the left and right sides of the specified rectangle by one-half the current tab height, and deflates the top and bottom by one unit.

Requirements

Header: afxtabctrl.h

See Also

Reference

CMFCTabCtrl Class

Hierarchy Chart

CRect::DeflateRect