Partager via


CTabCtrl::SetMinTabWidth

Sets the minimum width of items in a tab control.

int SetMinTabWidth( 
  int cx  
);

Parameters

  • cx
    Minimum width to be set for a tab control item. If this parameter is set to -1, the control will use the default tab width.

Return Value

The previous minimum tab width.

Return Value

This member function implements the behavior of the Win32 message TCM_SETMINTABWIDTH, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CTabCtrl Class

Hierarchy Chart