The rest of this section is divided into the following categories. Each category represents a group of Windows messages for which the Microsoft Foundation Class Library provides handler functions that you can override in your derived window classes.
Handlers for WM_COMMAND messages generated by user menu selections
Handlers for WM_COMMAND messages generated by keys
Handlers for notification messages from child windows
Handlers for WM_ messages, such as WM_PAINT