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

Last reviewed: January 15, 1998
Article ID: Q152585
4.00    | 3.51
WINDOWS | WINDOWS NT kbprg kbprb

The information in this article applies to:

  • Microsoft Win32 Application Programming Interface included with: - Microsoft Windows NT, version 3.51 - Microsoft Windows 95, version 4.0

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 kbprb kbprg
Version : 4.00 | 3.51
Platform : NT WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.