TabCtrl_SetMinTabWidth macro (commctrl.h)

Sets the minimum width of items in a tab control. You can use this macro or send the TCM_SETMINTABWIDTH message explicitly.

Syntax

int TabCtrl_SetMinTabWidth(
   HWND hwnd,
   int  x
);

Parameters

hwnd

Type: HWND

Handle to the tab control.

x

Type: int

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

Type: int

Returns a value of type int that represents the previous minimum tab width.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h