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


CToolBarCtrl::GetPadding

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

BOOL GetPadding(
          int* pnHorzPadding, 
          int* pnVertPadding
) const;

Параметры

Parameter

Description

[out] pnHorzPadding

An integer that receives the horizontal padding of the toolbar control, in pixels.

[out] pnVertPadding

An integer that receives the vertical padding of the toolbar control, in pixels.

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

true if this method is successful; otherwise, false.

Заметки

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

Требования

Header: afxcmn.h

См. также

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

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

TB_GETPADDING

CToolBarCtrl::SetPadding