This interface is implemented by the input method (IM) component. The input panel calls the methods of this interface to notify the IM of state changes and to request action and information from the IM. Because an IM is a COM interface, it is up to the developer to implement the following methods.
At a Glance
Header file: | Sip.h |
Windows CE Versions: | 2.12 and later |
Method | Description |
IInputMethod2::Select | Implemented to create the windows and image list for the input method (IM). |
IInputMethod2::Deselect | Implemented to select the input method (IM) out of the input panel window and to destroy the IM windows. |
IInputMethod2::Showing | Implemented to perform any initialization before the input panel window is displayed. |
IInputMethod2::Hiding | Implemented to perform any saving routines before the input panel is hidden. |
IInputMethod2::GetInfo | Implemented to return information about the current input method (IM) to the operating system. |
IInputMethod2::ReceiveSipInfo | Implemented to receive information about the size, placement, and docked status of the input panel. |
IInputMethod2::RegisterCallback | Implemented to receive a pointer to an IIMCallback interface. An input method (IM) uses the IIMCallback interface to send keystrokes to applications and to change the icons on the Input Panel button. |
IInputMethod2::GetImData | Implemented to send data from the current input method (IM) to the current application. |
IInputMethod2::SetImData | Implemented to respond to an application’s request to set input method (IM)-specific data within the IM. |
IInputMethod2::UserOptionsDlg | Implemented when the user requests that an input method (IM)-specific options dialog box be presented. |
IInputMethod2::SetIMMActiveContext | Called whenever ImmSetActiveContext is called. The information received identifies the current state of the IME. |
IInputMethod2::RegisterCallback2 | Implemented to receive a pointer to an IIMCallback2 interface. An input method (IM) uses the IIMCallback2 interface to send keystrokes to applications and to change the icons on the Input Panel button. |
Remarks
An IM receives method calls in the following sequence before it is required to render the input panel window space or to respond to user actions: