Freigeben über


CHeaderCtrl::ClearFilter

Clears the filter for a header control.

BOOL ClearFilter(
   int nColumn
);

Parameters

  • nColumn
    Column value indicating which filter to clear.

Return Value

true if this method is successful; otherwise, false.

Remarks

This method implements the behavior of the Win32 message HDM_CLEARFILTER, as described in the Windows SDK.

Example

int iFilt = m_myHeaderCtrl.ClearFilter(1);

Requirements

Header: afxcmn.h

See Also

Reference

CHeaderCtrl Class

Hierarchy Chart

CHeaderCtrl::ClearAllFilters

CHeaderCtrl::EditFilter

CHeaderCtrl::SetFilterChangeTimeout

Other Resources

CHeaderCtrl Members