Hi all, I'm trying to simulate the CTRL+L key stroke combo with the keybd_event function. I'm aware that it's depreciated and that MSDN advises to use another function but it's the only thing that I was able to find an example for. So I tried the following...
To do the CTRL+L but it doesn't seem to be working. How can I tell that I'm doing this right? Thanx in advance.Code:void function(void){ keybd_event(VK_CONTROL, 0x4C, 0, 0); }




Reply With Quote