| |

VerySource

 Forgot password?
 Register
Search
Author: waeijill

Ask how to record and play back mouse events (I have just come into contact with vc students for two weeks)

[Copy link]

1

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-1-27 06:54:01
| Show all posts
up
Reply

Use magic Report

0

Threads

14

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-1-27 13:00:02
| Show all posts
Hook up the recording and playback of such macros.
Reply

Use magic Report

1

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-1-28 07:36:01
| Show all posts
Thanks Reply

I do n’t understand what ms is. . . . . The hook is what. . . . .

I just do a mfc based dialog

The recording and playback of the mouse has been realized through the second floor pointing, but the keyboard. . . . Confused. . . . .

(By the way,yangxiaozhi110, how to apply for freescale samples? Thanks)
Reply

Use magic Report

1

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-1-29 09:54:01
| Show all posts
It's down again. This is my first question. Please take care of it.
Reply

Use magic Report

0

Threads

14

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-1-29 21:36:02
| Show all posts
Never applied for it, our lab and freescale have always asked for board films ...
Reply

Use magic Report

1

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-1-30 14:27:01
| Show all posts
. . . . . . . . Thanks anyway
But answer the topic. Homework is more important than application.
Reply

Use magic Report

0

Threads

14

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-1-31 11:54:02
| Show all posts
I haven't done it, I personally think thewspwsh520solution is feasible.
My idea is to use mouse hooks to record mouse events and play them back.
Controlling the mouse is done on the lpc2106, running uCOS, and sending data to the serial port according to the protocol of the serial mouse.
Reply

Use magic Report

1

Threads

14

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-1-31 18:54:02
| Show all posts
The expert said it is too deep. My student has no development experience. The listening fog is vast.
Thanks anyway

Back to the topic: Can anyone tell me how to record and play specific functions of keyboard actions? Thanks, it is best to use it in dialog-based mfc

p.s. I feel that both solutions are feasible, but the younger brother is novice. In the vast msdn, I really cannot find the function I want to use. . .
Reply

Use magic Report

0

Threads

14

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-2-9 10:30:01
| Show all posts
Its practical WH_JOURNALRECORD type hook can fully meet your requirements.
Reply

Use magic Report

0

Threads

14

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-2-9 11:00:02
| Show all posts
7, WH_JOURNALRECORD Hook
WH_JOURNALRECORD Hook is used to monitor and record input events. Typically, you can use this Hook to record continuous mouse and keyboard events, and then play back by using the WH_JOURNALPLAYBACK Hook. The WH_JOURNALRECORD Hook is a global Hook, and it cannot be used like a thread-specific Hook. WH_JOURNALRECORD are system-wide local hooks, they are not injected into any trip address space.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list