ListView_SetSelectionMarkListView_SetSelectionMark*
*



Contents  *



Index  *Topic Contents
*Previous Topic: ListView_SetItemText
*Next Topic: ListView_SetTextBkColor

ListView_SetSelectionMark


INT ListView_SetSelectionMark(
    HWND hwndLV,
    INT  iIndex
);

Sets the selection mark in a list view control. You can use this macro or send the LVM_SETSELECTIONMARK message explicitly.

hwndLV
Handle to a list view control.
iIndex
Zero-based index of the list view item to be selected.

The selection mark is the item index from which a multiple selection starts. This macro does not affect the selection state of the item.

Version 4.71

See also ListView_GetSelectionMark


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.