BCGControlBar Pro for MFC
void CBCGPTabWnd::SetTabMaxWidth ( int  nTabMaxWidth)

Sets maximal allowed tab width.

Use this method to limit the width of each tab in a tabbed window to nTabMaxWidth. It can be useful if tabs should have very long names.

The default value is 0 and the width is not limited.

nTabMaxWidthSpecifies the maximal allowed tab width (in pixels).