Help Center

CToolbar.GetButtonWidthmethod

Retrieves the current width of toolbar buttons, in pixels.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION GetButtonWidth (BYVAL hToolbar AS HWND) AS DWORD

Parameters

NameDescription
hToolbarHandle to the toolbar control.

Description

Retrieves the current width of toolbar buttons, in pixels.

Reference

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