BEGIN_MESSAGE_MAP(COnCommandTestApp, CWinApp)
ON_COMMAND(ID_APP_ABOUT, &COnCommandTestApp::OnAppAbout)
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW, &CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN, &CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP, &CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
ON_COMMAND colors as method color, but it's define.
VAX version 1432
VS.NET 2005