LVM_SETINSERTMARK Message


This is preliminary documentation and is subject to change.

Sets the insertion point to the defined position.

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns BOOL in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) LVM_SETINSERTMARK,     // message ID
   (WPARAM) wParam,     // = 0; not used; must be zero
   (LPARAM) lParam     // = (LPARAM) (PLVINSERTMARK) plvim
);

Parameters

wParam
[in] Must be zero.
plvim
[in] 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.

Message Requirements

Headercommctrl.h
Minimum operating systems Windows NT Whistler


© 2000 Microsoft Corporation. All rights reserved. Terms of use.