[Bug 5623] GetAsyncKeyState wrong if querying process doesn't have focus

Wine Bugs wine-bugs at winehq.org
Fri Jul 7 16:24:47 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5623





------- Additional Comments From tkho at ucla.edu  2006-07-07 16:24 -------
Yes, the Win32::GuiTest Perl module has a function IsKeyPressed() that is a
wrapper around GetAsyncKeyState. It comes with two example scripts (keypress.pl
and wptr.pl). The first script just asks for key presses. The second script
calls GetAsyncKeyState to query for a hotkey action. Also, searching newsgroups
shows a number of hits.

I think a minimal expectation is for GetAsyncKeyState to work when the
wineconsole that the Perl process is running in is focused, but even that
doesn't happen because wineconsole and Perl are different processs.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list