Message

Windows is a message-based operating system. Whenever an event occurs which may require a reaction from the application, a message is sent to the appropriate Callback Function for notification. It is up to the programmer to identify and respond to messages. A Message is often considered by programmers to be an Event. Also see CBMSG and callbacks.