Thread
:
Simulating a Button Push
View Single Post
#
6
02-14-2005, 05:41
AdamD
Posts: n/a
Easiest way would be to find the window using the windows API FindWindow and FindWindowEx. Then you should use something like
SendMessage(hwnd, WM_KEYDOWN,VK_RETURN,0);
SendMessage(hwnd, WM_KEYUP, VK_RETURN,0);
AdamD