Help Center

CToolbar.GetPaddingmethod

Retrieves the padding for a toolbar control.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION GetPadding (BYVAL hToolbar AS HWND) AS DWORD

Parameters

NameDescription
hToolbarHandle to the toolbar control.

Return value

Returns a DWORD value that contains the horizontal padding in the low word and the vertical padding in the high word, in pixels.

Description

Retrieves the padding for a toolbar control.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:691
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class