Is there any way control in Win32?

I would like to add an editing window (or is this a combo box?) For entering the file path using Visual C Win32 so that it automatically turns on - just like entering the address bar of Windows Explorer.

Is there a general control or property that I am missing that allows me to do this?

+7
source share
2 answers

You can use the standard editing control and call SHAutoComplete . Like this:

 SHAutoComplete(editWnd, SHACF_DEFAULT); 

The system will do the rest for you.

+12
source

There is no common control for this. However, you can use the standard Edit control and connect the IAutoComplete interface to it, which you can configure to use the file system (among other things) as a source to get string values. The easiest way to do this is to call the SHAutoComplete function.

+3
source

All Articles