Sending WM_COPY from a Delphi app. to another process in Windows 7
问题 I have a Delphi (BDS 2006) application which sends keystrokes to QuickBooks accounting software to traverse QuickBooks forms (invoices), copy text from the current edit control to the Windows clipboard (to gather data), do some calculations based on the gathered data, and finally write results on the form by sending keystrokes. This application has been developed over a number of years, uses extensive (for me at least) Windows API techniques to identify the foreground window, focused window,