Expand Minimize
This topic has not yet been rated - Rate this topic

ListView_GetSelectionMark macro

Gets the selection mark from a list-view control. You can use this macro or explicitly send the LVM_GETSELECTIONMARK message.

Syntax


INT ListView_GetSelectionMark(
  HWND hwndLV
);

Parameters

hwndLV

Type: HWND

A handle to a list-view control.

Return value

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

ListView_SetSelectionMark

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.