Compartilhar via


CMFCHeaderCtrl::GetColumnState

Indicates whether a column is unsorted, or is sorted in ascending or descending order.

int GetColumnState(
   int iColumn 
) const;

Parameters

  • [in] iColumn
    The zero-based index of a column.

Return Value

A value that indicate the sort status of the specified column. The following table lists the possible values:

Value

Description

-1

Sorted in descending order.

0

Not sorted.

1

Sorted in ascending order.

Requirements

Header: afxheaderctrl.h

See Also

Reference

CMFCHeaderCtrl Class

Hierarchy Chart