开发者

Simulate input in own application without focus?

I was wondering if it is possible to simulate input in your own application without the window being focused or the window minimized, kind of l开发者_Python百科ike with PostMessage or SendMessage but without those APIs specifically? Thanks!


you can do that with global hooks. so basically windows is sending messages to the application which is focused, but apps with global hooks will get all the input events for which they registered for inputs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜