CWnd *pWnd = FindWindow(0, "FreeStyle");
if (pWnd->GetSafeHwnd())
{
pWnd->ShowWindow(SW_NORMAL);
pWnd->SetForegroundWindow();
keybd_event(68, MapVirtualKey(68, 0), 0,0);
keybd_event(68, MapVirtualKey(68, 0), KEYEVENTF_KEYUP,0);
}
我能扑获游戏窗口,但是不能象游戏发送'D'键,系统屏蔽了,怎么做才可以呀!
if (pWnd->GetSafeHwnd())
{
pWnd->ShowWindow(SW_NORMAL);
pWnd->SetForegroundWindow();
keybd_event(68, MapVirtualKey(68, 0), 0,0);
keybd_event(68, MapVirtualKey(68, 0), KEYEVENTF_KEYUP,0);
}
我能扑获游戏窗口,但是不能象游戏发送'D'键,系统屏蔽了,怎么做才可以呀!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货