共用方式為


CMFCHeaderCtrl::EnableMultipleSort

Enables or disables multiple column sort mode for the current header control.

void EnableMultipleSort(
   BOOL bEnable=TRUE 
);

Parameters

  • [in] bEnable
    TRUE to enable multiple column sort mode; FALSE to disable multiple column sort mode and to remove any columns from the list of sorted columns. The default value is TRUE.

Remarks

Use this method to enable or disable multiple column sort mode. Two or more columns can participate in a sort if the header control is in multiple column sort mode.

Requirements

Header: afxheaderctrl.h

See Also

Reference

CMFCHeaderCtrl Class

Hierarchy Chart