Windows messages are used to communicate between the operating system and applications, and also between different parts of an application. A Windows message is simply a numeric code that designates a particular event. For example, if the user presses the left mouse button, the window receives a message that has the following message code: WM_LBUTTONDOWN (0x0201). Some messages have data associate