CListCtrl::SetSelectedColumn

Sets the selected column of the list view control.

LRESULT SetSelectedColumn(
   int iCol 
);

Parameters

  • iCol
    The index of the column to be selected.

Return Value

The return value is not used.

Remarks

This member function emulates the functionality of the LVM_SETSELECTEDCOLUMN message, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Concepts

CListCtrl::GetSelectedColumn

CListCtrl Class

CListCtrl Members

Hierarchy Chart