#define IsKeyPressed(nVirtKey) ((GetKeyState(nVirtKey) & (1<<(sizeof(SHORT)*8-1))) != 0)
#define IsKeyToggled(nVirtKey) ((GetKeyState(nVirtKey) & 1) != 0)
BOOL CPropPage2::PreTranslateMessage(MSG* pMsg)
{
// TODO: 在此添加专用代码和/或调用基类
if (pMsg->message == WM_KEYDOWN && IsKeyPressed(VK_DELETE) ) {
}
return CDialog::PreTranslateMessage(pMsg);
}
10-29
1217

07-20
2213

06-18
3394
