CToolbar.SetMetricsmethod
Sets the metrics of a toolbar control.
Syntax
SUB SetMetrics (BYVAL hToolbar AS HWND, BYVAL ptbMetrics AS TBMETRICS PTR)
SUB SetMetrics (BYVAL hToolbar AS HWND, BYREF tbMet AS TBMETRICS)
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
ptbMetrics | Pointer to a TBMETRICS structure that contains the toolbar metrics to set. | |
tbMet | A TBMETRICS structure that contains the toolbar metrics to set. |
Description
Sets the metrics of a toolbar control.
Remarks
To use this message, you must provide a manifest specifying Comclt32.dll version 6.0.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:1211
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class