Condividi tramite


CToolBarCtrl::GetPadding

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

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

Parameters

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.

Return Value

true if this method is successful; otherwise, false.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Concepts

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

TB_GETPADDING

CToolBarCtrl::SetPadding