Поделиться через


CToolBarCtrl::SetPadding

Sets the horizontal and vertical padding of the current toolbar control.

DWORD SetPadding(
            int nHorzPadding, 
            int nVertPadding
);

Параметры

Parameter

Description

[in] nHorzPadding

Specifies the horizontal padding of the toolbar control, in pixels.

[in] nVertPadding

Specifies the vertical padding of the toolbar control, in pixels.

Возвращаемое значение

A DWORD whose low word contains the previous horizontal padding value, and whose high word contains the previous vertical padding value. The padding values are measured in pixels.

Заметки

This method sends the TB_SETPADDING message, which is described in the Windows SDK.

Требования

Header: afxcmn.h

См. также

Основные понятия

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

TB_SETPADDING

CToolBarCtrl::GetPadding