Condividi tramite


CHeaderCtrl::SetFilterChangeTimeout

Sets the timeout interval between the time a change takes place in the filter attributes and the posting of an HDN_FILTERCHANGE notification.

int SetFilterChangeTimeout(
   DWORD dwTimeOut 
);

Parameters

  • dwTimeOut
    Timeout value, in milliseconds.

Return Value

The index of the filter control being modified.

Remarks

This member function implements the behavior of the Win32 message HDM_SETFILTERCHANGETIMEOUT, as described in the Windows SDK.

Example

int iFltr = m_myHeaderCtrl.SetFilterChangeTimeout(15);

Requirements

Header: afxcmn.h

See Also

Concepts

CHeaderCtrl Class

CHeaderCtrl Members

Hierarchy Chart

CHeaderCtrl::ClearAllFilters

CHeaderCtrl::ClearFilter

CHeaderCtrl::EditFilter