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

IInputMethodExis implemented by the input method (IM) component. The input panel calls the IInputMethodExinterfaces to notify the IM of state changes and to request action and information from the IM. Because an IM is a COM interface, the following methods can be implemented.

Method Description

Deselect

Selects the IM from the Input Panel window and eliminates the IM window.

GetImData

Sends data from the current IM to the current application.

GetInfo

Returns information about the current IM to the operating system.

Hiding

Performs any saving routines before the input panel is hidden.

ReceiveSipInfo

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

RegisterCallback

Receives a pointer to an IIMCallbackinterface. An IM uses the IIMCallbackinterface to send keystrokes to applications and to change the icons on the InputPanel button.

IInputMethodEx::RegisterCallbackEx

Receives a pointer to an IIMCallbackExinterface. An IM uses the IIMCallbackExinterface to send keystrokes to applications and to change the icons on the Input Panel button.

Select

Creates the windows and image list for the IM.

SetImData

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

IInputMethodEx::SetIMMActiveContext

Called when ImmSetActiveContextis 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 Optionsdialog box for a specific IM.

Note:
Except for SetIMMActiveContextand RegisterCallbackEx, all the IInputMethodExinterface methods are identical to the IInputMethodmethods.

If a custom IM component is developer, the new component should have the Setup application perform self-registration by calling the DllRegisterServerand DllUnregisterServerfunctions. Implement these functions in the IM server DLL. Optionally, the registry values can be set directly. The input panel Propertiesdialog box does not provide any UI elements for the self-registration service.

Requirements

Header sip.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later

See Also