Home > Back-end >  Sendmessage postmessage or how to send the current window key combination
Sendmessage postmessage or how to send the current window key combination

Time:10-08

Can find the Internet a lot of people say the code, test, however, could not,
Is there any situation,

CodePudding user response:

You give it a bit less, it seems you've been neglecting your question, I answered immediately without,

CodePudding user response:

Sendmessage the first parameter is the handle to the window, says the goal of the message,
If it is the key message, don't know what is the look of, seem to only the current window will be able to receive it, unless the other Windows with a hotkey,

CodePudding user response:

reference 1st floor mwy654321 response:
you give it a bit less, it seems you've been neglecting your question, I answered immediately without,


Added to the 100, can do it?

CodePudding user response:

refer to the second floor tcmakebest response:
sendmessage the first parameter is the handle to the window, says the goal of messages,
If it is the key message, don't know what is the look of, seem to only the current window will be able to receive it, unless the other Windows with a hotkey,


The current window, direct sendkey can solve,
Main is current, a single bond is no problem, combination, and you won't come
  • Related