Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
int GetSelectionMark( );
Return Value
The zero-based selection mark, or -1 if there is no selection mark.
Remarks
This member function implements the behavior of the Win32 macro, , as described in the Platform SDK.
Example
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// Set the selection mark to the first item only if no other item is
// selected.
if (pmyListCtrl->GetSelectionMark() == -1)
pmyListCtrl->SetSelectionMark(0);
CListCtrl Overview | Class Members | Hierarchy Chart
See Also CListCtrl::SetSelectionMark