16,473
社区成员
发帖
与我相关
我的任务
分享
LRESULT CALLBACK KeyboardProc(int nCode, WPARAM wParam, LPARAM lParam)
{
SendMessage(g_hwnd,g_SC_Msg,wParam,lParam);
return CallNextHookEx(g_hKeyboard,nCode,wParam,lParam);
}
LONG CKeyBoard::DealWithKeyBoard(WPARAM wParan,LPARAM lParam)
{
//???
}
if(kbuf[VK_CAPITAL]&1)
MessageBox("小写");
else
MessageBox("大写");