Retrieves the position of the insertion point.
To send this message, call the SendMessage function as follows.
lResult = SendMessage( // returns BOOL in lResult (HWND) hWndControl, // handle to destination control (UINT) LVM_GETINSERTMARK, // 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 receives the position of 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.
Remarks
An insertion point can appear only 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