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
Header commctrl.h Minimum operating systems Windows NT Whistler