Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the current autocomplete options.
Syntax
HRESULT SetOptions(
[in] DWORD dwFlag
);
Parameters
[in] dwFlag
Type: DWORD
One or more flags from the AUTOCOMPLETEOPTIONS enumeration that specify autocomplete options.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The TAB key is disabled by default because it is typically used to navigate from control to control, not within a control. If you set the ACO_USETAB flag in dwFlag, users can navigate to a string in the drop-down list by pressing the TAB key. If the drop-down list is closed, the TAB key allows the user to navigate from control to control, as usual. The user can close the drop-down list by pressing the ESC key.
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) |