TabCtrl_SetItemSize macro (commctrl.h)

Sets the width and height of tabs in a fixed-width or owner-drawn tab control. You can use this macro or send the TCM_SETITEMSIZE message explicitly.

Syntax

void TabCtrl_SetItemSize(
   hwnd,
   x,
   y
);

Parameters

hwnd

Type: HWND

Handle to the tab control.

x

Type: int

New width, in pixels.

y

Type: int

New height, in pixels.

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