PRB: Cannot Change IME Status Setting on Windows NTJ or Win95J

ID: Q152585

4.00    | 3.51
WINDOWS | WINDOWS NT kbprg kbprb

The information in this article applies to:

SYMPTOMS

On the Japanese version of Windows NT 3.51 and Windows 95, using the MSIME95 as the Input Method Editor, if a process creates a second thread, the second thread, in turn, creates a window, while the primary thread's main window remains the foreground window. When this occurs, the user cannot change the IME status settings for the primary thread.

However, at this time, if a window of another thread is set as the foreground window by a mouse click to another window or by calling Windows API, then the window of the primary thread is reset as the main window, and the user will be able to change the IME status settings again by clicking the IME status window buttons.

RESOLUTION

To prevent this problem from occurring, immediately after the window of the second thread is created, use SetForegroundWindow() to set the window of the second thread as the foreground window very briefly, and then set the main window of the primary thread as the foreground window again, as follows:

   SetForegroundWindow(hSecondThreadWnd);
   SetForegroundWindow(hMainThreadWnd);

STATUS

This behavior is by design.

Additional reference words: 3.51 4.00 Input method editor FE KBCategory: kbprg kbprb KBSubcategory: KBIntlDev

Keywords          : kbIntlDev 
Version           : 4.00 | 3.51
Platform          : NT WINDOWS

Last Reviewed: January 16, 1998