Windows messages to another process

Hi.
How could I get all windows messages, sent by it to another process. For instance: My app. launch MSWord. How coud my app. get all messages sent to MSWord's process, filter them and then resend them to MSWord, but MSWord mustn't get messages directly from windows. Is it possible?
Regards, Alex.
PS: Sorry for "a lot" of pts, this is all I have:)))
LVL 3
double_axeAsked:
Who is Participating?
 
RONSLOWConnect With a Mentor Commented:
A system-wide hook should do this.

This is the sort of thing SPY does.

(I'm pretty sure there is source code for the Spy tool)
0
 
double_axeAuthor Commented:
Ok, I've to see spy++ source
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.