Header_EditFilter macro (commctrl.h)

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

Syntax

int Header_EditFilter(
   HWND            hwnd,
   int             i,
   fDi<no_pop></no_pop>scardChanges fDiscardChanges
);

Parameters

hwnd

Type: HWND

A handle to the header control.

i

Type: int

A value specifying the column to edit.

fDiscardChanges

Type: fDiscardChanges

A 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.

Value Meaning
TRUE
Discard the changes made by the user.
FALSE
Accept the changes made by the user.

Return value

Type: int

Returns an integer that indicates TRUE(1) or FALSE(0).

Requirements

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

See also

HDM_EDITFILTER