Search function

I want to show the user all available information when typing a seach phrase, but I dont know how to make c++ run the seach cycle for every letter and not only when the user presses enter.

I want to make something like this:

Seach: Sv|

Result:
Sven
Svensson
Svante

-----------------------
Search: Sve|

Result:
Sven
Svensson

-----------------------
Search: Svensson

Result:
Svensson

(User presses enter)

Information about Svensson is shown


I dont know how to make my program run functions before the user presses enter.
Topic archived. No new replies allowed.