这个哪错了?? 运行后按键但没反应--
被这个搞死了BOOL CAboutDlg::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_KEYUP)
{
AfxMessageBox( "You urn ");
if(pMsg-> wParam == VK_TAB)
AfxMessageBox( "You press the return ");
switch(pMsg->wParam)
{
case 0x4E: //表示是方向键中的向下的键 AfxMessageBox( "You press the return "); break;
}
}
return CDialog::PreTranslateMessage(pMsg);
}
被这个搞死了BOOL CAboutDlg::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_KEYUP)
{
AfxMessageBox( "You urn ");
if(pMsg-> wParam == VK_TAB)
AfxMessageBox( "You press the return ");
switch(pMsg->wParam)
{
case 0x4E: //表示是方向键中的向下的键 AfxMessageBox( "You press the return "); break;
}
}
return CDialog::PreTranslateMessage(pMsg);
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货