Home > Software engineering >  MFC to send message to all Windows
MFC to send message to all Windows

Time:09-15

In order to achieve the handwritten Pen mouse simulation effect, but it wasn't such a Windows interface, but Windows have such news again, what am I supposed to send this message to all Windows, total and simulate the effect of Pen?

CodePudding user response:

PostMessage (HWND_BOARDCAST,... ); Send broadcast messages to all top_level top-level window

CodePudding user response:

The
reference 1/f, 7-eleven's reply:
PostMessage (HWND_BOARDCAST,... ); Send broadcast messages to all top_level top-level Windows

Such a child window of the window can receive data
?

CodePudding user response:

The
reference 1/f, 7-eleven's reply:
PostMessage (HWND_BOARDCAST,... ); Send broadcast messages to all top_level top-level Windows

Now with BroadcastSystemMessage but feel no effect

CodePudding user response:

Applications that need to communicate using HWND_BROADCAST should use the RegisterWindowMessage function to obtain a unique message for Intel - application communication.

CodePudding user response:

The
reference 4 floor 7-eleven's response:
Applications that need to communicate using HWND_BROADCAST should use the RegisterWindowMessage function to obtain a unique message for Intel - application communication.

For example to desktop ~ PS software, the software RegisterWindowMessage exists, or say ~ what method can simulate into drive, that the operating system to control the message about the distribution of

CodePudding user response:

The
reference 4 floor 7-eleven's response:
Applications that need to communicate using HWND_BROADCAST should use the RegisterWindowMessage function to obtain a unique message for Intel - application communication.

Is there any way to insert data into a message queue or hardware directly in RIT

CodePudding user response:

SendInput

CodePudding user response:

The
reference 7 floor zgl7903 response:
SendInput
, that SendInput how hair Pen news,

CodePudding user response:

"The modeling Pen
"What effect?

CodePudding user response:

references 9 f schlafenhamster response:
"simulation effect of Pen
"What effect?

Mo

To simulate the electromagnetic pen ~

CodePudding user response:

Say what you want!
  • Related