Help Center

CListView.GetISearchStringLenmethod

Gets the length of the incremental search string of a list-view control.

WindowsmethodCListView.incdocumented

Syntax

FUNCTION GetISearchStringLen (BYVAL hListView AS HWND) AS LONG

Parameters

NameDescription
hListViewHandle to the ListView control.

Return value

Returns the length of the incremental search string.

Description

Gets the length of the incremental search string of a list-view control.

Remarks

The incremental search string is the character sequence that the user types while the list view has the input focus. Each time the user types a character, the system appends the character to the search string and then searches for a matching item. If the system finds a match, it selects the item and, if necessary, scrolls it into view.

A time-out period is associated with each character that the user types. If the time-out period elapses before the user types another character, the incremental search string is reset.

Reference

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