Jump to content
  • Advertisement


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


Processing messages in Win32

This topic is 5374 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

Huge thanks !
Now I know much more, but I am also still confused about this problem, sice it is not trivial. If I solve it I will explain you the solution.

Rafal Pielech

Share this post

Link to post
Share on other sites
You''re welcome!

It seems if you post a message in the window procedure, it ends up back in the right window procedure. If you want to post a message outside the window procedure you have to specify the handle of the window (by using PostMessage(...)) you want to send it to.
If you don''t, DispatchMessage() doesn''t know which window procedure it was meant for.

Here''s a link to an article in MSDN about the subject:
Messages and message queues

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!