次の方法で共有


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

Reference

CListCtrl::GetSelectedColumn

CListCtrl Class

Hierarchy Chart