IAutoComplete::Enable method (shldisp.h)
Enables or disables autocompletion.
Syntax
HRESULT Enable(
[in] BOOL fEnable
);
Parameters
[in] fEnable
Type: BOOL
A value that is set to TRUE to enable autocompletion, or FALSE to disable it.
Return value
Type: HRESULT
Returns S_OK if successful, or a COM error value otherwise.
Remarks
Autocompletion is enabled by default. Applications need only to call this method to disable autocompletion or to reenable it if it has been disabled.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shldisp.h |
DLL | Shell32.dll (version 5.0 or later) |