The hook state remains unchanged when IE10 or later has the keyboard focus
In xkeymacs-110830, the hook state remains unchanged when the keyboard focus moves from another application to IE10 or later. After the change of 55ddea2, the hook stays disabled in IE10 or later.
To change the hook state, CXkeymacsDll::CallWndProc calls InitKeyboardProc when an appliation get the keyboard focus. It calls only when the window is the foreground window. Each tab window in IE10 or later belong to a different process and does not become foreground. So InitKeyboardProc is not called and the hook mode remains unchanged.
To fix this bug, CallWndProc should call InitKeyboardProc even if the focused window is not foreground.