IIMCallback2

An input method (IM) is given a pointer to this interface by the input panel through the IInputMethod interface. The IM calls the methods in IMCallback to send keystrokes to the current application and to change the icon that displays on the Input Panel button.

Method Description
IIMCallback2::SetImInfo Called by the input method (IM) to change the bitmaps shown on the Input Panel button representing the current input panel, to change the visible state of the input panel, or to notify the input panel when the IM has changed the size, placement, or docked status of the input panel window.
IIMCallback2::SendVirtualKey Called by the input method (IM) to simulate a keystroke or a virtual key. The key event is sent to the window that currently has the focus; that is, the window that would have received keyboard input if a key had been pressed on an external keyboard.
IIMCallback2::SendCharEvents Sends Unicode characters from the input method (IM) to the window with the focus, while also determining which WM_KEYDOWN and WM_KEYUP messages the window should receive.
IIMCallback2::SendString Called by the input method (IM) to send an entire string to the window that currently has the focus; that is, the window that would have received keyboard input if a key had been pressed on an external keyboard.
IIMCallback2::SendAlternatives2 Called by the input method (IM) to send an "Alternatives" to the window that currently has the focus; that is, the window that would have received keyboard input if a key had been pressed on an external keyboard.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.12 and later Sip.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

IIMCallback2::SendAlternatives2, IIMCallback2::SendCharEvents, IIMCallback2::SendString, IIMCallback2::SendVirtualKey, IIMCallback2::SetImInfo

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.