Using sendmessage (HWND WM_PASTE, 0, 0) send paste news; How to determine whether can locate paste?
CodePudding user response:
You can simulate send Ctrl + V, want to paste to the specified window, you need to the first window SetForroundWnd, simulate click get focus, and then Ctrl + VCodePudding user response:
Thank 7-eleven's reply, sent via sendmessage WM_PASTE message, every time just paste in the location (0, 0), join me want to paste in (0100), just don't know how to do, please advise,CodePudding user response:
WM_PASTEAn application sends a WM_PASTE message to An edit control or combo box to copy the current content of the clipboard to the edit control at the current caret position. the Data is inserted only if the clipboard contains Data in CF_TEXT format.