共用方式為


CListCtrl::GetSelectedColumn

Retrieves the index of the currently-selected column in the list control.

UINT GetSelectedColumn( ) const;

Return Value

The index of the selected column.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Concepts

CListCtrl::SetSelectedColumn

CListCtrl Class

CListCtrl Members

Hierarchy Chart