CToolbar.AutoSizemethod
Causes a toolbar to be resized.
Syntax
SUB AutoSize (BYVAL hToolbar AS HWND)
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. |
Description
Causes a toolbar to be resized.
Remarks
An application sends the TB_AUTOSIZE message after causing the size of a toolbar to change either by setting the button or bitmap size or by adding strings for the first time.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:317
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class