Help Center

CToolbar.GetMetricsmethod

Retrieves the metrics of a toolbar control.

WindowsmethodCToolbar.incdocumented

Syntax

SUB GetMetrics (BYVAL hToolbar AS HWND, BYVAL ptbMetrics AS TBMETRICS PTR)
SUB GetMetrics (BYVAL hToolbar AS HWND, BYREF tbMet AS TBMETRICS)
FUNCTION GetMetrics (BYVAL hToolbar AS HWND) AS TBMETRICS

Parameters

NameDescription
hToolbarHandle to the toolbar control.
ptbMetricsPointer to a TBMETRICS structure that receives the toolbar metrics.
tbMetricsA TBMETRICS structure that receives the toolbar metrics.

Description

Retrieves the metrics of a toolbar control.

Reference

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