void CMy2Dlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) 
{
// TODO: Add your message handler code here and/or call default
MessageBox("nChar");
CDialog::OnKeyDown(nChar, nRepCnt, nFlags);
}我想让按下的键值显示出来 比如我按下A则对话框显示A