Ok, I have this menu resource IDM_MYMENU with IDM_FILE_EXIT and IDM_HELP_ABOUT
It is in the .rc file in the visual studio 2008 project, and when I compile the project and run it, the window has the menu. But I'm confused as to how to handle the messages sent when, for example, IDM_FILE_EXIT is clicked.
{
case WM_COMMAND: // Windows command. Find out more.
switch( wParam )
{
case IDM_FILE_EXIT: // File Exit menu command.
PostQuitMessage(WM_QUIT);
break;
}