TabCtrl_SetPadding macro

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

No return value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: