CToolbar.GetMetricsmethod
Retrieves the metrics of a toolbar control.
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
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
ptbMetrics | Pointer to a TBMETRICS structure that receives the toolbar metrics. | |
tbMetrics | A 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