CMFCTabCtrl::SetTabMaxWidth

Specifies the maximum tab width in a tabbed window.

void SetTabMaxWidth(
   int nTabMaxWidth 
);

Parameters

  • [in] nTabMaxWidth
    The maximum tab width, in pixels.

Remarks

Use this method to limit the width of each tab in a tabbed window. This method is useful if tabs have very long labels. The CMFCTabCtrl class constructor initializes the maximum tab width to 0, which actually means that the width is not limited.

Requirements

Header: afxtabctrl.h

See Also

Reference

CMFCTabCtrl Class

Hierarchy Chart