SHIC_FEATURE

4/8/2010

The SHIC_FEATURE enumeration is used by the SHSetInputContext function to specify the type of context feature to change in the specified input window.

Syntax

enum {
  SHIC_FEATURE_RESTOREDEFAULT = 0,
  SHIC_FEATURE_AUTOCORRECT    = 0x00000001L,
  SHIC_FEATURE_AUTOSUGGEST    = 0x00000002L,
  SHIC_FEATURE_HAVETRAILER    = 0x00000003L,
  SHIC_FEATURE_CLASS          = 0x00000004L
} SHIC_FEATURE;

Enumerators

  • SHIC_FEATURE_RESTOREDEFAULT
    Restore the original input context state of the window. When this element is specified as the dwFeature parameter of SHSetInputContext, the lpValue parameter of SHSetInputContext is ignored.
  • SHIC_FEATURE_AUTOCORRECT
    Enable AutoCorrect for the window. When this element is specified as the dwFeature parameter of SHSetInputContext, TRUE and FALSE are the only valid values for the *lpValue parameter of SHSetInputContext.
  • SHIC_FEATURE_AUTOSUGGEST
    Enable dictionary suggestions for the window. When this element is specified as the dwFeature parameter of SHSetInputContext, TRUE and FALSE are the only valid values for the *lpValue parameter of SHSetInputContext.
  • SHIC_FEATURE_HAVETRAILER
    Append trailer characters after replacing words in the window. Trailer characters are characters such as spaces, tabs, or semicolons, which are used to separate words or phrases. When this element is specified as the dwFeature parameter of SHSetInputContext, TRUE and FALSE are the only valid values for the *lpValue parameter of SHSetInputContext.
  • SHIC_FEATURE_CLASS
    Set this window to behave like a specific feature class. The different feature classes represent common types of input windows. When this element is specified as the dwFeature parameter of SHSetInputContext, the only valid values for the *lpValue parameter of SHSetInputContext are defined in the Remarks section that follows.

Remarks

The following are the only valid values for the *lpValue parameter of SHSetInputContext when SHIC_FEATURE_CLASS is specified as the dwFeature parameter of SHSetInputContext. These values represent default feature settings for common types of input windows.

#define SHIC_CLASS_DEFAULT  TEXT("")
#define SHIC_CLASS_EMAIL    TEXT("email")
#define SHIC_CLASS_PHONE    TEXT("phone")

Requirements

Header aygshell.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Pocket PC for Windows Mobile 2003 and later

See Also

Reference

Shell Enumerations
SHGetInputContext
SHSetInputContext