dummzeuch 1505 Posted April 28, 2019 (edited) I wrote about autocompletion for TEdits before here and here. Back then I was using the SHAutoComplete API function in the Shlwapi.dll because I am a lazy basterd™. That hasn’t changed really but I also love fiddling with stuff, so some years ago, I actually added directory and general string completion to dzlib (and apparently didn’t blog about it), this time using the IAutoComplete2 interface as described in this answer on StackOverflow, which I mentioned before. Today I revisited that code and and added file and directory completion to it, in a way that also allows filtering the files with a given file mask. So the user can easily enter directories and eventually select a file: Read on in the blog post ... https://blog.dummzeuch.de/2019/04/28/autocompletion-for-tedits-revisited/ Edited April 28, 2019 by dummzeuch 1 1 Share this post Link to post
Guest Posted April 28, 2019 17 minutes ago, dummzeuch said: Read on in the blog post ... https://blog.dummzeuch.de/2019/04/28/autocompletion-for-tedits-revisited/ This link does not work for me: ERR_CONNECTION_RESET multiple times. Will check again tomorrow. Share this post Link to post
Guest Posted April 28, 2019 I meant to ask, if you tap into windows (as i assume you are doing since you mention a system dll, API and on)... do your users (users of apps with these calls) get some benefit from say "cortana" or some such? Share this post Link to post
dummzeuch 1505 Posted April 28, 2019 4 hours ago, Dany Marmur said: I meant to ask, if you tap into windows (as i assume you are doing since you mention a system dll, API and on)... do your users (users of apps with these calls) get some benefit from say "cortana" or some such? No idea, Cortana is one of the first things I disable when I install Windows. As far as I'm concerned, Cortana is the devilish twin of Clippy. 3 Share this post Link to post
Dave Nottage 557 Posted April 28, 2019 26 minutes ago, dummzeuch said: Cortana is one of the first things I disable when I install Windows Not sure what I'm doing differently, however I never need to disable it. Unlike Clippy, it never intrudes unless I ask it to; at least I'm assuming that's case, because so far it has been never. Share this post Link to post
Darian Miller 361 Posted April 28, 2019 1 hour ago, Dave Nottage said: Not sure what I'm doing differently, however I never need to disable it. Unlike Clippy, it never intrudes unless I ask it to; at least I'm assuming that's case, because so far it has been never. Clippy reference! Wow, that goes back a ways.. mid-90's? Share this post Link to post
Guest Posted April 29, 2019 13 hours ago, dummzeuch said: Cortana is one of the first things I disable when I install Windows. As far as I'm concerned, Cortana is the devilish twin of Clippy. Mee too 🙂 But clients may ask so... Share this post Link to post
Lars Fosdal 1792 Posted April 29, 2019 14 hours ago, Darian Miller said: Clippy reference! Wow, that goes back a ways.. mid-90's? He recently and briefly resurfaced in Teams.https://www.theverge.com/2019/3/22/18276923/microsoft-clippy-microsoft-teams-stickers-removal Share this post Link to post
Remy Lebeau 1398 Posted April 30, 2019 On 4/28/2019 at 9:45 AM, dummzeuch said: I wrote about autocompletion for TEdits before here and here. I also once wrote an article about IAutoComplete, for the C++Builder Journal. The archive of that article is on my website in the "Articles" section: Using Microsoft's Auto-Completion Framework 1 Share this post Link to post
Edwin Yip 154 Posted May 1, 2019 Good job. Bergsoft also has a TNxAutoCompletion which is very useful: http://dn.bergsoft.net/nxautocompletion-tutorial.htm BTW, I really love their NextGrid component - fast, quite feature-rich but the code is simple and very easy to tweak. But too bad they are not enhancing the V5 but instead re-writing completely the new V6 without backward compatibility. Share this post Link to post