Article View: borland.public.cppbuilder.nativeapi
Article #1482SendInput and wait
From: sam
Date: Sun, 12 Aug 2007 18:06
Date: Sun, 12 Aug 2007 18:06
9 lines
1281 bytes
1281 bytes
I use SendInput API for sending keystrokes to an application and then use a loop for waiting a time : for(int y=0;y< iTempo;y++)Application->ProcessMessages(); but this doesn't work at all time because it depends on the time that the application target takes for handling the keystrokes. So Does someone get a way for waiting the exacte time until an application handle the keystrokes ? Sam
Technical Details
Message-ID:
<46bf4c12$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5822a93011d0a8be,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "sam" <none@none.fr> Newsgroups: borland.public.cppbuilder.nativeapi Subject: SendInput and wait Date: Sun, 12 Aug 2007 20:06:03 +0200 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 NNTP-Posting-Host: 89.224.207.51 Message-ID: <46bf4c12$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1186941970 89.224.207.51 (12 Aug 2007 11:06:10 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail