Hi,
How would one retrieve the handle of the control that currently has focus ? I am using WH_KEYBOARD_LL to capture all keypresses in, and I should be able to determine in which textbox the user is typing in. The code capturing the events has no direct access to the controls in the other application.
I know the win32 function GetFocus() exists for getting the current window handle, but I need something similar for the current control.
Any ideas would be appreciated.
Pika