Filtering is done through STRICMP which only compares strings in dictionary order. Thus searching things in comboboxes does not filter according to the query string as expected. I think the intended function is strstr(), which searches for substrings, or maybe strcasestr() (case-insensitive variant) which however is non-standard.
Additionally, when typing the selection goes down the list, which is weird.
Indeed, also the making visible was strange, hidden elements shoudl stay hidden. And there is tstrcasestr; but then it matches often not the cities I expected. strstr seems to do more what one would expect.
"Ahr" matches "kein Fahrplan vorhanden" which is not what a user expected. Als "Lan" is still with this entry. See r11994
In r11994 no entries are hidden, the selection just jumps to the first matching item. (I don't know if this is intentional or not)
True, so r11995 is better?
Yes! It works. Thank you!