Header_EditFilter macro

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

Syntax


int Header_EditFilter(
   HWND            hwnd,
   int             i,
   fDiscardChanges 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.

ValueMeaning
TRUE

Discard the changes made by the user.

FALSE

Accept the changes made by the user.

 

Return value

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

See also

HDM_EDITFILTER

 

 

Show: