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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.