Microsoft SDK for Java

handleIMEMessage

This method of the InputMethodMessageListener Interface handles IME-related messages. The class that implements the InputMethodMessageListener interface needs to have current focus for IME messages to be successfully handled.

Syntax

public boolean handleIMEMessage(InputMethodMessage IMEMessage);

Return Value

Returns true if the class that implements the interface draws its own custom IME user interface. If the implementation method returns false, IME messages are directed to the InputMethodListener, which draws the IME user interface.

Parameters

IMEMessage The IME-related message (which is extended from InputMethodMessage). Two examples are IMENotifyMessage and IMECompositionMessage.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.