Archived

This topic is now archived and is closed to further replies.

AlexM

any way to intercept winmsgs?

Recommended Posts

AlexM    122
i know you can use hooks to spy on messages, but how can one stop a message from being delivered to a window not belonging to your thread?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
why exactly do you want to do this - theres prob. a better way than "intercepting" win msgs.

Share this post


Link to post
Share on other sites
Promit    13246
There''s a procedure known as "subclassing". Spy subclasses a window, records the messages coming, then sends them to the window. I''m not terribly good with subclassing, and i sure as hell cant explain how exactly it works. Just look for a subclassing tutorial on Google.

-----------------------------
The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.

Share this post


Link to post
Share on other sites