CToolbar.SetListGapmethod
Sets the distance between the toolbar buttons on a specific toolbar.
Syntax
SUB SetListGap (BYVAL hToolbar AS HWND, BYVAL gap AS DWORD)
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
gap | The gap, in pixels, between buttons on the toolbar. |
Description
Sets the distance between the toolbar buttons on a specific toolbar.
Remarks
The gap between buttons only applies to the toolbar control window that receives this message. Receipt of this message triggers a repaint of the toolbar, if the toolbar is currently visible.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:1193
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class