dcsimg
 

Search Listboxes as you Type

by Clyde Saye

This small code sample shows how you can search a listbox while typing into a textbox - similar to the way that Windows Help works.

By changing the SendMessage Function's "ByVal wParam as Long" to "ByVal wParam as String", we change the search ability from first letter only, to "change-as-we-type" searching.

Home
Mobile Site | Full Site