Re: Win32lib questions
- Posted by CChris <christian.cuvier at a?ric?lture.gouv.fr> Sep 27, 2007
- 687 views
Andy Drummond wrote: > > > > > The logger would simply intercept the relevant WM_ messages and write the > > data > > they carry to a file. The enhanced GetLastMessage() also records timestamp, > > in case there is an isssue with this. It's straight win32lib code - I told > > you > > it wasn't any stealthy. > > Just one thing: did you check: > > 1/ whether sticky keys are enabled on your system; > > 2/ If so, whether turning them off changes the behaviour. > > > > On my system, they are disabled; this might explain why I wasn't able to > > reproduce > > the bug. > > The newer lib checks the keyboard events at a lower level than before, so as > > to report them in the new w32HKeyboard event. As a result, it may interact > > with > > Windows keyboard handling in ways it hadn't before. > > > > CChris > > I also have sticky keys disabled - I tend sometimes to pres and release shift > or control or alt when I am thinking; sticky keys would drive me mad!! > Matt suggested if it might be sticky-keys - I was mildly offended that he > thought I was so green that I hadn't thought of that. I have never met anyone > who uses sticky keys anyway. > > Andy In a way this is good news, because it means that I shouldn't need to take care of them. I'll experiment with them though, just in case. Could the problem come from an application switch by hotkey? Otherwise, if this is an issue with the repeat count, then some logging is in order. I'll be out of town this weekend, so I'll try to have it working and emailed before that. CChris PS: On a different matter: Derek, did you get my SF comment on the print font size bug?