Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What kind of messages does Windows send to applications? For example, when I click this Firefox window, what does happen? Does Windows find the process ID of the application and send it some message or what?

I am looking for this kind of detail for a research. If anyone could point me in the right direction I would appreciate that!

share|improve this question
I believe Windows uses handles - – Sathya Feb 21 '10 at 16:00
up vote 9 down vote accepted

The Win32 API for user->process, process<->process and OS<->process interaction is message based.

See for a very basic intro and some useful links to relevant documentation at Microsoft including which seems a fairly complete walk around the subject (though may assume some existing Windows programming knowledge).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.