13,873
社区成员
发帖
与我相关
我的任务
分享
if ((VK_F1 == WParam) &&
(1 == GetKeyState(VK_CONTROL)))
{
ShowMessage("Ctrl + F1 !!");
}
if ((VK_F1 == WParam) &&
(GetKeyState(VK_CONTROL) & 0x80))//If the high-order bit is 1, the key is down;
//otherwise, it is up.
{
ShowMessage("Ctrl + F1 !!");
}
if ((VK_F1 == Key) &&Shift.Contains(ssCtrl ))
{
ShowMessage("Ctrl + F1 !!");
}