Microsoft KB Archive/152585

{|
 * width="100%"|

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

 * }

Q152585

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK) for Windows NT, version 3.51

-

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 query words: 3.51 4.00 Input method editor FE

Keywords : kbIntl kbIntlDev

Issue type : kbprb

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch kbWin32SDKNT351