- Changed the DWORDs in dobject.h into uint32s, since they were preventing
edit-and-continue from working for the Windows source files. - When a WM_KEYDOWN message is received with VK_PROCESSKEY, the scan key is now used to retrieve the real virtual key for the message. This fixes the previous issue that caused me to completely disable the IME. - Removed the code that disables the IME, since it also disables the ability to switch between keyboard layouts that do not use an IME. - TranslateMessage() is no longer called if GUI capture mode is off, so no dead key processing is performed until it might be useful. SVN r1758 (trunk)
This commit is contained in:
parent
63e26df7b2
commit
4d4e8e89b3
4 changed files with 35 additions and 27 deletions
|
|
@ -917,18 +917,6 @@ void DoMain (HINSTANCE hInstance)
|
|||
width = 512;
|
||||
height = 384;
|
||||
|
||||
// Disable the input method editor (not present in Win95/NT4)
|
||||
HMODULE imm32 = LoadLibrary("imm32.dll");
|
||||
if (imm32 != NULL)
|
||||
{
|
||||
BOOL (WINAPI *DisableIME)(DWORD) = (BOOL(WINAPI *)(DWORD))GetProcAddress(imm32, "ImmDisableIME");
|
||||
if (DisableIME != NULL)
|
||||
{
|
||||
DisableIME(0);
|
||||
}
|
||||
FreeLibrary(imm32);
|
||||
}
|
||||
|
||||
// Many Windows structures that specify their size do so with the first
|
||||
// element. DEVMODE is not one of those structures.
|
||||
memset (&displaysettings, 0, sizeof(displaysettings));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue