PRB: Cannot Change IME Status Setting on Windows NTJ or Win95J (152585)
The information in this article applies to:
- Microsoft Win32 Software Development Kit (SDK) for Windows NT 3.51
This article was previously published under Q152585 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.
Modification Type: | Major | Last Reviewed: | 7/24/2001 |
---|
Keywords: | kbIntl kbIntlDev kbprb KB152585 |
---|
|