On Fri, 24 Sep 2004 08:34:12 +0900, you wrote:
"Rein Klazes" <rklazes(a)xs4all.nl> wrote:
Great. Attached patch is what I think Windows is doing. It fixes the problem with Agent, and hopefully also fixes your problem about no window with keyboard focus.
No, I don't think that your patch is correct. My tests show that WM_SYSCHAR is really handled by TranslateAccelerator. And I believe that TranslateAccelerator should not mess with focus/active windows at all, it already has all the required information in the passed MSG structure.
It does handle WM_SYSCHAR, and it gets the information from the passed MSG structure. I imagined this information is there just for this purpose. But you are doing the tests and I have not. If the tests indicate that bit29 of lParam has no influence then my patch is wrong. Rein. -- Rein Klazes rklazes(a)xs4all.nl