Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Sets the selection mark of a list view control.
int SetSelectionMark(
int iIndex
);
Parameters
- iIndex
The zero-based index of the first item in a multiple selection.
Return Value
The previous selection mark, or -1 if there was no selection mark.
Remarks
This member function implements the behavior of the Win32 macro, ListView_SetSelectionMark, as described in the Windows SDK.
Example
See the example for CListCtrl::GetSelectionMark.
Requirements
Header: afxcmn.h