CHeader.ClearFiltermethod
Clears the filter for a given header control.
Syntax
FUNCTION ClearFilter (BYVAL hHeader AS HWND, BYVAL i AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hHeader | The handle of the header control. | |
i | A 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