TB_SETLISTGAP message

Sets the distance between the toolbar buttons on a specific toolbar.

Parameters

wParam

The gap, in pixels, between buttons on the toolbar.

lParam

Ignored.

Return value

No return value.

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.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Commctrl.h