For the menu elements that you want to use to trigger new functions in your application,
you can add event-handler functions through the Class Wizard, just as you can with controls
that you place on the dialog window.
For this example, add a function for the IDM_FILE_HELLO object (the Hello menu) on the
COMMAND event message. Name the function OnHello and add the code in Listing 6.1 to
the function.