mfc autosuggest textbox (like in Windows Start->Run dialog)
In Windows XP if you click Start, Run (or Windows-key + R) you get a little dialog for running things directly. If you start typing, a resizable scroll-list pops up underneath the edit-box.
开发者_Go百科I want something similar, so when a user is typing in a name to an edit-box, a list will suddenly appear if suggestions can be made. But I don't know if I need to write it all myself, or can use some existing controls/code from somewhere.
I'm currently looking at this one: http://www.codeproject.com/KB/combobox/akautocomplete.aspx Will try to remember to post my findings.
You'll have to create it yourself, IMHO. However if you google 'autosuggest textbox', you should find some examples on how to do it.
The examples might not be in in MFC though, but I'm sure they can help you along.
This one is a good start:
精彩评论