TB_SETANCHORHIGHLIGHT message

Sets the anchor highlight setting for a toolbar.

Parameters

wParam

BOOL value that specifies if anchor highlighting is enabled or disabled. If this value is nonzero, anchor highlighting will be enabled. If this value is zero, anchor highlighting will be disabled.

lParam
Must be zero.

Return value

Returns the previous anchor highlight setting. If this value is nonzero, anchor highlighting was enabled. If this value is zero, anchor highlighting was disabled.

Remarks

Anchor highlighting in a toolbar means that the last highlighted item will remain highlighted until another item is highlighted. This occurs even if the cursor leaves the toolbar control.

Requirements

 Minimum supported client Windows Vista [desktop apps only] Windows Server 2003 [desktop apps only] Commctrl.h