TabCtrl_SetPadding macro (commctrl.h)

Sets the amount of space (padding) around each tab's icon and label in a tab control. You can use this macro or send the TCM_SETPADDING message explicitly.

Syntax

void TabCtrl_SetPadding(
   HWND hwnd,
   int  cx,
   int  cy
);

Parameters

hwnd

Type: HWND

Handle to the tab control.

cx

Type: int

Amount of horizontal padding, in pixels.

cy

Type: int

Amount of vertical padding, 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