(我现在在学习《MFC windows 程序设计》(第二版)下面的这个问题来自于该书的第八章)
BOOL CDlgCalcDlg::PreTranslateMessage(MSG* pMsg) 
{
    if (m_hAccel != NULL)
        if (::TranslateAccelerator (m_hWnd, m_hAccel, pMsg)) 
            return TRUE;
    
    return CDialog::PreTranslateMessage (pMsg);
} 这个函数有什么作用?望各位高手详细指点