BOOL CMainFrame::PreTranslateMessage(MSG* pMsg) 
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_CREATE)//这里改为WM_KEYDOWN就能响应。这个为何不能?
AfxMessageBox("command");
return CFrameWnd::PreTranslateMessage(pMsg);
}这里改为WM_KEYDOWN就能响应。这个为何不能?