Compartir a través de


IInputMethodEx (Compact 2013)

3/28/2014

IInputMethodEx is implemented by the input method component. The software-based input panel (SIP) calls the IInputMethodEx interfaces to notify the input method of state changes and to request action and information from the input method. Because an input method is a COM interface, the following methods can be implemented.

Method

Description

Deselect

Selects the input method from the Input Panel window and eliminates the input method window.

GetImData

Sends data from the current input method to the current application.

GetInfo

Returns information about the current input method to the operating system.

Hiding

Performs any saving routines before the SIP is hidden.

ReceiveSipInfo

Receives information about the size, placement, and docked status of the SIP.

RegisterCallback

Receives a pointer to an IIMCallback interface. An input method uses the IIMCallback interface to send keystrokes to applications and to change the icons on the InputPanel button.

IInputMethodEx::RegisterCallbackEx

Receives a pointer to an IIMCallbackEx interface. An input method uses the IIMCallbackEx interface to send keystrokes to applications and to change the icons on the Input Panel button.

Select

Creates the windows and image list for the input method.

SetImData

Responds to an application's request to set input method-specific data within the input method.

IInputMethodEx::SetIMMActiveContext

Called when ImmSetActiveContext is called. The information identifies the current state of the IME.

Showing

Performs any initialization before the Input Panel window is displayed.

UserOptionsDlg

Presents the User Options dialog box for a specific input method.

Note

Except for SetIMMActiveContext and RegisterCallbackEx, all the IInputMethodEx interface methods are identical to the IInputMethod methods.

If you develop an input method component have your setup application self-register the new component by calling the DllRegisterServer and DllUnregisterServer functions. Implement these functions in the input method server dynamic-link library (DLL). Optionally, the registry values can be set directly. The Input Panel properties dialog box does not provide any UI elements for the self-registration service.

Requirements

Header

sip.h

See Also

Reference

Software-based Input Panel Interfaces