Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 - functionx.com/win32/Lesson05.htm –  Sathya Feb 21 '10 at 16:00

1 Answer 1

up vote 9 down vote accepted

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

See http://en.wikipedia.org/wiki/Message_loop_in_Microsoft_Windows for a very basic intro and some useful links to relevant documentation at Microsoft including http://www.microsoft.com/msj/0795/dilascia/dilascia.aspx 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.