This topic has not yet been rated - Rate this topic

IVsIME Interface

Gives the package access to the Input Method Editor (IME). The Input Method Editor offers candidate items in response to user keystrokes. Frequently used in localization for non-alphabetic languages. You can get an instance of the interface from the SVsIME (SID_SVsIME) service.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
[GuidAttribute("DC7EDE19-3DD1-4E20-A7F1-110883ED996F")]
[InterfaceTypeAttribute()]
public interface IVsIME

The IVsIME type exposes the following members.

  NameDescription
Public methodActivateActivates the Input Method Editor (IME).
Public methodAttachContextAssociates or disassociates an Input Method Editor (IME) context with an editor window. For more information about IME contexts, see Input Context.
Public methodDeactivateDeactivates the Input Method Editor (IME).
Public methodEscapeProvides access to ImmEscape, a method enabling access to features, often country-specific, of particular Input Method Editors (IME).
Public methodFDeactivateEnables or disables the Input Method Editor (IME).
Public methodGetDefaultWindowRetrieves the default window for the Input Method Editor (IME) class that is active. Wrapper for a call to ImmGetDefaultIMEWnd.
Public methodGetImmCompositionStringRetrieves information about the composition string. Wrapper for a call to ImmGetCompositionString.
Public methodGetImmCompositionStringWRetrieves information about the composition string. Wrapper for a call to ImmGetCompositionString. Handles string as wide characters (wchar_t) rather than as bytes.
Public methodGetImmContextRetrieves the Input Method Editor (IME) context for a given window. Use before getting or setting IME information using methods such as GetImmCompositionString.
Public methodIsActiveIndicates whether or not the Input Method Editor (IME) is active for a given window.
Public methodNotifyNotifies the Input Method Editor (IME) of changes to the IME input context. The method is a wrapper for ImmNotifyIME.
Public methodReleaseImmContextReleases the Input Method Editor (IME) input context and frees the associated memory. The method is a wrapper for ImmReleaseContext. You should call this function once for each call to GetImmContext.
Public methodSetCurPosSets the current position of the editing window using the Input Method Editor (IME). The method provides a wrapper to ImmSetCompositionWindow.
Public methodSetDefCurPosMoves the editor window to the default position. The method provides a wrapper to ImmSetCompositionWindow.
Public methodSetFontSets the fault in the editor window. Provides a wrapper to ImmSetCompositionFont.
Public methodSetImmCandidateWindowSets aspects of the candidate list window. Provides a wrapper for ImmSetCandidateWindow.
Public methodSetImmCompositionStringSets the characters, attributes, and clauses of the composition and reading strings. Provides a wrapper for ImmSetCompositionString.
Top

For an example of using the IME in a standalone application, see International Samples

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.