Windows communicates information about events (such as key presses, mouse movements, etc.) to the program by means of 'messages'. These are small structures that are stored in a queue and accessed by means of a call to the Windows API. This process is handled automatically by ClearWin+. Specific Windows messages are referred to by names such as WM_PAINT, WM_CREATE, etc.