The mouse is an important but optional user-input device for Microsoft Windows applications. An application should include a mouse interface, but it shouldn't depend on the mouse as the sole means of acquiring user input—it should provide full keyboard support as well.
A Windows application receives mouse input in the form of messages that are sent or posted to the windows in the application. This chapter describes how Windows generates mouse input and explains how an application receives and processes the input.