Help Center

CHeader.EditFiltermethod

Moves the input focus to the edit box when a filter button has the focus.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION EditFilter (BYVAL hHeader AS HWND, BYVAL i AS LONG, BYVAL fDiscardChanges AS BOOLEAN) AS BOOLEAN

Parameters

NameDescription
hHeaderThe handle of the header control.
iA value specifying the column to edit.
fDiscardChangesA flag that specifies how to handle the user's editing changes. Use this flag to specify what to do if the user is in the process of editing the filter when the message is sent.
TRUE: Discard the changes made by the user.;
FALSE: Accept the changes made by the user.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Moves the input focus to the edit box when a filter button has the focus.

Reference

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