Partager via


LVM_GETISEARCHSTRING

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message retrieves the incremental search string of a list-view control. You can send this message explicitly or by using the ListView_GetISearchString macro.

Syntax

LVM_GETISEARCHSTRING wParam = 0; 
    lParam = (LPARAM)(LPSTR) lpsz;

Parameters

  • wParam
    Not used.
  • lpsz
    Long pointer to a buffer that receives the incremental search string.

    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.

Return Value

The number of characters in the incremental search string indicates success. Zero indicates that the list-view control is not in incremental search mode.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ListView_GetISearchString
List-View Controls Messages