Explain Messaging in windows?
Windows is a message-based OS. It has a central message pump, which processes all the Messages that are posted to it. Every action in windows is considered as a message. All events raised by any application on windows will be posted in the central message Pump as a windows message. There are 2 messages, Post message: Sends Msg to the windows messaging system and returns the control to the calling thread before the message is actually processed. Send message, which puts the message on the queue and waits for a response (blocking) The message pump calls the appropriate message handler for appropriate action to be taken on it.