Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 438 Vote(s) - 3.68 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there Path Edit Control in Win32?

#1
I would like to add an edit box (or is it a combo box?) for entering a file-path using Visual C Win32 so that it offers auto-complete - the same as when you type in Windows Explorer's address bar.

Is there a common control or property I'm missing that allows me to do that?
Reply

#2
You can use the standard edit control and call [`SHAutoComplete`][1]. Like this:

SHAutoComplete(editWnd, SHACF_DEFAULT);

The system will do the rest for you.


[1]:

[To see links please register here]

Reply

#3
There is no Common Control for that. What you can do, however, is use a standard Edit control and attach the [IAutoComplete][1] interface to it, which can be configured to use the file system (amongst other things) as a source for getting string values from. The easiest way to do that is to call the [SHAutoComplete][2] function.

[1]: msdn.microsoft.com/en-us/library/bb776292.aspx
[2]: msdn.microsoft.com/en-us/library/bb759862.aspx
Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through