AUTOCOMPLETEOPTIONS enumeration (shldisp.h)

Specifies values used by IAutoComplete2::GetOptions and IAutoComplete2::SetOptions for options surrounding autocomplete.

Syntax

typedef enum _tagAUTOCOMPLETEOPTIONS {
  ACO_NONE = 0,
  ACO_AUTOSUGGEST = 0x1,
  ACO_AUTOAPPEND = 0x2,
  ACO_SEARCH = 0x4,
  ACO_FILTERPREFIXES = 0x8,
  ACO_USETAB = 0x10,
  ACO_UPDOWNKEYDROPSLIST = 0x20,
  ACO_RTLREADING = 0x40,
  ACO_WORD_FILTER = 0x80,
  ACO_NOPREFIXFILTERING = 0x100
} AUTOCOMPLETEOPTIONS;

Constants

 
ACO_NONE
Value: 0
0x0000. Do not autocomplete.
ACO_AUTOSUGGEST
Value: 0x1
0x0001. Enable the autosuggest drop-down list.
ACO_AUTOAPPEND
Value: 0x2
0x0002. Enable autoappend.
ACO_SEARCH
Value: 0x4
0x0004. Add a search item to the list of completed strings. When the user selects this item, it launches a search engine.
ACO_FILTERPREFIXES
Value: 0x8
0x0008. Do not match common prefixes, such as "www." or "http://".
ACO_USETAB
Value: 0x10
0x0010. Use the TAB key to select an item from the drop-down list.
ACO_UPDOWNKEYDROPSLIST
Value: 0x20
0x0020. Use the UP ARROW and DOWN ARROW keys to display the autosuggest drop-down list.
ACO_RTLREADING
Value: 0x40
0x0040. Normal windows display text left-to-right (LTR). Windows can be mirrored to display languages such as Hebrew or Arabic that read right-to-left (RTL). Typically, control text is displayed in the same direction as the text in its parent window. If ACO_RTLREADING is set, the text reads in the opposite direction from the text in the parent window.
ACO_WORD_FILTER
Value: 0x80
0x0080. Windows Vista and later. If set, the autocompleted suggestion is treated as a phrase for search purposes. The suggestion, Microsoft Office, would be treated as "Microsoft Office" (where both Microsoft AND Office must appear in the search results).
ACO_NOPREFIXFILTERING
Value: 0x100
0x0100. Windows Vista and later. Disable prefix filtering when displaying the autosuggest dropdown. Always display all suggestions.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header shldisp.h