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

void TabCtrl_SetMinTabWidth(
   hwnd,
   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

None

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