LVM_SETINSERTMARK message

Sets the insertion point to the defined position.

Parameters

wParam

Must be zero.

lParam

Pointer to a LVINSERTMARK structure that specifies where to set the insertion point.

Return value

Returns TRUE if successful, or FALSE otherwise. FALSE is returned if the size in the cbSize member of the LVINSERTMARK structure does not equal the actual size of the structure, or when an insertion point does not apply in the current view.

Remarks

An insertion point can only appear if the list-view control is in icon view, small icon view, or tile view, and is not in group-view mode.

Note

To use this message, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.

Requirements

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