I want to simulate a click on a button located in a dialog box.
I have the handle to that window. This is an Abort/Retry/Ignore kind of window.
I don\'t wan
Try this for OK:
SendMessage(hWnd, WM_COMMAND, 1, NULL);