Prev Next

TabCtrl_SetPadding info  Overview  Group

The 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 explicitly send the TCM_SETPADDING message.

void TabCtrl_SetPadding(

    HWND hwnd,

    int cx,

    int cy

   );

Parameters

cx and cy
Amount of horizontal and vertical padding, in pixels.
hwnd
Handle to the tab control.

Return Values

No return value.

See Also

TCM_SETPADDING