Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

AUTOCOMPLETEOPTIONS enumeration

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

Syntax


typedef enum tagAUTOCOMPLETEOPTIONS { 
  ACO_NONE                = 0x00,
  ACO_AUTOSUGGEST         = 0x01,
  ACO_AUTOAPPEND          = 0x02,
  ACO_SEARCH              = 0x04,
  ACO_FILTERPREFIXES      = 0x08,
  ACO_USETAB              = 0x10,
  ACO_UPDOWNKEYDROPSLIST  = 0x20,
  ACO_RTLREADING          = 0x40,
  ACO_WORD_FILTER         = 0x80,
  ACO_NOPREFIXFILTERING   = 0x100
} AUTOCOMPLETEOPTIONS;

Constants

ACO_NONE

0x0000. Do not autocomplete.

ACO_AUTOSUGGEST

0x0001. Enable the autosuggest drop-down list.

ACO_AUTOAPPEND

0x0002. Enable autoappend.

ACO_SEARCH

0x0004. Add a search item to the list of completed strings. When the user selects this item, it launches a search engine.

ACO_FILTERPREFIXES

0x0008. Do not match common prefixes, such as "www." or "http://".

ACO_USETAB

0x0010. Use the TAB key to select an item from the drop-down list.

ACO_UPDOWNKEYDROPSLIST

0x0020. Use the UP ARROW and DOWN ARROW keys to display the autosuggest drop-down list.

ACO_RTLREADING

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

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

0x0100. Windows Vista and later. Disable prefix filtering when displaying the autosuggest dropdown. Always display all suggestions.

Requirements

Minimum supported client

Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shldisp.h

IDL

Shldisp.idl

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.