Help Center

CHeader.ClearFiltermethod

Clears the filter for a given header control.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION ClearFilter (BYVAL hHeader AS HWND, BYVAL i AS LONG) AS BOOLEAN

Parameters

NameDescription
hHeaderThe handle of the header control.
iA column value indicating which filter to clear.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Clears the filter for a given header control.

Remarks

If the column value is specified as -1, all the filters are cleared, and the HDN_FILTERCHANGE notification is sent only once.

Reference

  • Include file CHeader.inc
  • Defined in AfxNova/CHeader.inc:130
  • Documented in Windows/WIndows Controls/CHeader Class.md
  • Topic: CHeader Class