Hi,
I want to simulate keyboard, so it will press alt+66 (it should show B):
keybd_event(VK_LMENU, 0, 0, 0);
keybd_event(VK_NUMPAD6, 0, 0, 0);
keybd_event(VK_NUMPAD6, 0, KEYEVENTF_KEYUP, 0);
keybd_event(VK_NUMPAD6, 0, 0, 0);
keybd_event(VK_NUMPAD6, 0, KEYEVENTF_KEYUP, 0);
keybd_event(VK_LMENU, 0, KEYEVENTF_KEYUP, 0);
what do I do wrong?
thanx
Boris
I want to simulate keyboard, so it will press alt+66 (it should show B):
keybd_event(VK_LMENU, 0, 0, 0);
keybd_event(VK_NUMPAD6, 0, 0, 0);
keybd_event(VK_NUMPAD6, 0, KEYEVENTF_KEYUP, 0);
keybd_event(VK_NUMPAD6, 0, 0, 0);
keybd_event(VK_NUMPAD6, 0, KEYEVENTF_KEYUP, 0);
keybd_event(VK_LMENU, 0, KEYEVENTF_KEYUP, 0);
what do I do wrong?
thanx
Boris