SendInput delay :(
-
hello! i have a problem with SendInput function... i need to simulate the Ctrl+C... and after it i'm getting the text string from Clipboard... but there is a delay between the SendInput is called and the keys are simulated... :( and when i'm getting the text from Clipboard, i'm getting the old Clipboard data... what should i do? maybe i need to use some delay function after SendInput?... if you know any delay functions, please tell me...
-
hello! i have a problem with SendInput function... i need to simulate the Ctrl+C... and after it i'm getting the text string from Clipboard... but there is a delay between the SendInput is called and the keys are simulated... :( and when i'm getting the text from Clipboard, i'm getting the old Clipboard data... what should i do? maybe i need to use some delay function after SendInput?... if you know any delay functions, please tell me...
Install a clipboard viewer, and you'll know exactly when the contents of the clipboard change. See my article ClipSpy in the clipboard section, which demonstrates a clipboard viewer. --Mike-- http://home.inreach.com/mdunn/ "Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001 Sonork - 100.10414 AcidHelm