Every once in awhile, you discover a new API that you wonder how you ever lived without. Here’s today’s discovery: SHAutoComplete().

HRESULT SHAutoComplete(HWND hwndEdit, DWORD dwFlags);
Basically you pass the function a handle to an edit control and it “instructs system edit controls to use AutoComplete to help complete URLs or file system paths.”

Very cool. It’s amazing how long it sometimes takes to discover these things.



No Comments

No comments yet.

Sorry, the comment form is closed at this time.