IAutoComplete::Enable method

Enables or disables autocompletion.

Syntax


HRESULT Enable(
  [in] BOOL fEnable
);

Parameters

fEnable [in]

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

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shldisp.h

DLL

Shell32.dll (version 5.0 or later)

See also

IAutoComplete

 

 

Show: