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.
A version of this page is also available for
4/8/2010

An input method (IM) is given a pointer to this interface by the software-based input panel through the IInputMethodinterface. The IM calls the methods in IIMCallbackto send keystrokes to the current application and to change the icon that displays on the Input Panelbutton.

Methods

The following table lists the methods for IIMCallback.

Method Description

IIMCallback::SetImInfo

Called by the IM to change the bitmaps shown on the Input Panelbutton representing the current software-based input panel, to change the visible state of the software-based input panel, or to notify the software-based input panel when the IM has changed the size, placement, or docked status of the software-based input panel window.

IIMCallback::SendVirtualKey

Called by the 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.

IIMCallback::SendCharEvents

Sends Unicode characters from the IM to the window with the focus, while also determining which WM_KEYDOWN and WM_KEYUP messages the window should receive.

IIMCallback::SendString

Called by the 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.

Requirements

Header sip.h
Library uuid.lib
Windows Embedded CE Windows CE 2.01 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also