Share via


TabCtrl_SetPadding (Compact 2013)

3/28/2014

This 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
    Handle to the tab control.
  • cxand cy
    Amount of horizontal and vertical padding, in pixels.

Return Value

None.

Requirements

Header

commctrl.h

See Also

Reference

Tab Controls Macros
TCM_SETPADDING