ListView_GetSelectionMark

This macro retrieves the selection mark from a list-view control.

INT ListView_GetSelectionMark(
  HWND hwndLV 
);

Parameters

  • hwndLV
    Handle to a list-view control.

Return Values

Returns the zero-based selection mark, or -1 if there is no selection mark.

Remarks

The selection mark is the item index from which a multiple selection starts.

Related message:LVM_GETSELECTIONMARK

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

LVM_GETSELECTIONMARK | List-View Controls Macros

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.