1

This can be difficult to ask because 1) people assume this is necessarily malicious and 2) unrelated but effectual techniques like GetForegroundWindow can make this impossible to answer.

So, to keep this as general as possible: If I wish to send keyboard and mouse events to a program but it is ignoring messages other programs receive and interpret just fine, what might I try? What might the developers be trying? The goal is to have multiple windows receiving input at once.

My specific case is that I wish to be doing things on my system while the target window receives clicks and keyboard input at a set interval. I could just toggle foreground, but I really don't want to.

If this would better fit somewhere else than reverseengineering or if some variation on this has already been asked I would, of course, be perfectly content to respectively post elsewhere or read said variation.

1
  • 1
    I would start with debugging the process's message loop making sure the messages do reach the program and the trace flow until I'd encounter what causes the message to be ignored.
    – NirIzr
    Mar 10, 2017 at 23:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.