HDM_CLEARFILTER message

Clears the filter for a given header control. You can send this message explicitly or use the Header_ClearFilter macro.

Parameters

wParam

A column value indicating which filter to clear.

lParam

Must be zero.

Return value

Returns an integer. The LRESULT is cast to an integer that indicates TRUE(1) or FALSE(0).

Remarks

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

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

Header_ClearAllFilters