Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The SHIC_FEATUREenumeration is used by the SHSetInputContextfunction 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 dwFeatureparameter of SHSetInputContext, the lpValueparameter of SHSetInputContextis ignored.

SHIC_FEATURE_AUTOCORRECT

Enable AutoCorrect for the window. When this element is specified as the dwFeatureparameter of SHSetInputContext, TRUE and FALSE are the only valid values for the * lpValueparameter of SHSetInputContext.

SHIC_FEATURE_AUTOSUGGEST

Enable dictionary suggestions for the window. When this element is specified as the dwFeatureparameter of SHSetInputContext, TRUE and FALSE are the only valid values for the * lpValueparameter 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 dwFeatureparameter of SHSetInputContext, TRUE and FALSE are the only valid values for the * lpValueparameter 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 dwFeatureparameter of SHSetInputContext, the only valid values for the * lpValueparameter of SHSetInputContextare defined in the Remarkssection that follows.

Remarks

The following are the only valid values for the * lpValueparameter of SHSetInputContextwhen SHIC_FEATURE_CLASS is specified as the dwFeatureparameter of SHSetInputContext. These values represent default feature settings for common types of input windows.

Copy Code
#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