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)
Syntax
'Declaration
<GuidAttribute("DC7EDE19-3DD1-4E20-A7F1-110883ED996F")> _
<InterfaceTypeAttribute()> _
Public Interface IVsIME
[GuidAttribute("DC7EDE19-3DD1-4E20-A7F1-110883ED996F")]
[InterfaceTypeAttribute()]
public interface IVsIME
[GuidAttribute(L"DC7EDE19-3DD1-4E20-A7F1-110883ED996F")]
[InterfaceTypeAttribute()]
public interface class IVsIME
[<GuidAttribute("DC7EDE19-3DD1-4E20-A7F1-110883ED996F")>]
[<InterfaceTypeAttribute()>]
type IVsIME = interface end
public interface IVsIME
The IVsIME type exposes the following members.
Methods
Name | Description | |
---|---|---|
Activate | Activates the Input Method Editor (IME). | |
AttachContext | Associates or disassociates an Input Method Editor (IME) context with an editor window. For more information about IME contexts, see Input Context. | |
Deactivate | Deactivates the Input Method Editor (IME). | |
Escape | Provides access to ImmEscape, a method enabling access to features, often country-specific, of particular Input Method Editors (IME). | |
FDeactivate | Enables or disables the Input Method Editor (IME). | |
GetDefaultWindow | Retrieves the default window for the Input Method Editor (IME) class that is active. Wrapper for a call to ImmGetDefaultIMEWnd. | |
GetImmCompositionString | Retrieves information about the composition string. Wrapper for a call to ImmGetCompositionString. | |
GetImmCompositionStringW | Retrieves information about the composition string. Wrapper for a call to ImmGetCompositionString. Handles string as wide characters (wchar_t) rather than as bytes. | |
GetImmContext | Retrieves the Input Method Editor (IME) context for a given window. Use before getting or setting IME information using methods such as GetImmCompositionString. | |
IsActive | Indicates whether or not the Input Method Editor (IME) is active for a given window. | |
Notify | Notifies the Input Method Editor (IME) of changes to the IME input context. The method is a wrapper for ImmNotifyIME. | |
ReleaseImmContext | Releases 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. | |
SetCurPos | Sets the current position of the editing window using the Input Method Editor (IME). The method provides a wrapper to ImmSetCompositionWindow. | |
SetDefCurPos | Moves the editor window to the default position. The method provides a wrapper to ImmSetCompositionWindow. | |
SetFont | Sets the fault in the editor window. Provides a wrapper to ImmSetCompositionFont. | |
SetImmCandidateWindow | Sets aspects of the candidate list window. Provides a wrapper for ImmSetCandidateWindow. | |
SetImmCompositionString | Sets the characters, attributes, and clauses of the composition and reading strings. Provides a wrapper for ImmSetCompositionString. |
Top
Remarks
For an example of using the IME in a standalone application, see International Samples in the Visual C++ Samples.