In Phase 2, use ClassWizard to create separate message-mapped MFC handler functions for the remaining cases in your message handling switch statements. This lets you use the MFC message map, which causes the appropriate message handler to be called in response to each Windows-based message.
In addition to mapping messages, you can accomplish a couple of other useful things in Phase 2: