Compartilhar via


IIMCallback3 (Compact 2013)

3/28/2014

This interface provides methods that input methods can use to call the software-based input panel (SIP) and send keystrokes to the current application. Input applications can also use this method to change the icon that appears on the Input Panel button through the Graphics, Windowing, and Events Subsystem (GWES).

Methods in Vtable Order

Like all Component Object Model (COM) interfaces, this interface inherits the methods for the IUnknown interface. The following table lists the methods for this interface in the order they appear in the Vtable after the methods inherited from IUnknown.

Method

Description

IIMCallback3::SetImInfo

Changes the bitmaps shown on the Input Panel when the input method calls it to change the visible state of the SIP, or to notify the SIP when the input method changes the size, placement, or docked status of the SIP window.

IIMCallback3::SendVirtualKey

Simulates a keystroke or a virtual key when the input method calls it.

IIMCallback3::SendCharEvents

Sends a series of WM_KEYUP or WM_KEYDOWN messages from the input method to the window that currently has the focus.

IIMCallback3::SendString

Sends an entire string to the window that currently has the focus when the input method calls it.

IIMCallback3::SendAlternatives2

Sends an alternatives list to an input method editor (IME) when the input method calls it.

IIMCallback3::GetInputContext

Retrieves input context from the SIP driver when the input method calls it.

Remarks

Use this interface to allow the input method to receive user input and pass the input data to the SIP.

An input method usually converts user input into characters and sends those characters to the SIP through an input method callback interface.

To obtain a pointer to this interface, call the IInputMethod3::RegisterCallback3 method.

See Also

Reference

Software-based Input Panel Interfaces
IInputMethod3
IIMCallback
IIMCallback2

Other Resources

Software-based Input Panel
Graphics, Windowing, and Events (GWES)