I want to send a message to a window in another program which will simulate actual keystrokes in the receiving program. The key combination I want to send is alt-enter.
I have tried:
PostMessage(hWnd, WM_SYSKEYDOWN, VK_RETURN, 1);
but I'm not getting the response I want. I have checked the HWND, and it is the correct window, but how can I send a key combination like this. Any ideas?
CN
I have tried:
PostMessage(hWnd, WM_SYSKEYDOWN, VK_RETURN, 1);
but I'm not getting the response I want. I have checked the HWND, and it is the correct window, but how can I send a key combination like this. Any ideas?
CN