Jump to content
  • Advertisement

Archived

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

any way to intercept winmsgs?

This topic is 5949 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!