Article View: borland.public.cppbuilder.nativeapi
Article #9682Re: How to click a button in another program?
From: TerryC
Date: Wed, 16 Jun 2004 15:31
Date: Wed, 16 Jun 2004 15:31
22 lines
1808 bytes
1808 bytes
"Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> wrote: >> I implemented your example, and it works... but only if I >> drag the window of the application after it sends the >> message. Otherwise, the target dialog stays up. (???) > >Please elaborate. The target dialog, the "Someone is trying to send email on your behalf" message from Outlook, makes you wait for five seconds before you can click "Yes". My app has a timer that is activated when the dialog appears. After five seconds, it sends the message that the "Yes" button was clicked. However, nothing happens if I don't move the window of my application. If I drag my window slightly, the message gets to the Outlook dialog and it closes. If I don't drag my window, the Outlook dialog stays open. Rather odd, don't you think? -Terry
Technical Details
Message-ID:
<40d067b4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40bf8884$1@newsgroups.borland.com> <40bf8f94$1@newsgroups.borland.com> <40c46fee$1@newsgroups.borland.com> <40c49ec3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,6be234126fe720da X-Google-Attributes: gid10cc67,public From: "TerryC" <terryc.dont_spam_me@sweetwaterhsa.com> Sender: "TerryC" <terryc.dont_spam_me@sweetwaterhsa.com> Reply-To: "TerryC" <terryc.dont_spam_me@sweetwaterhsa.com> Subject: Re: How to click a button in another program? Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 63.250.179.198 References: <40bf8884$1@newsgroups.borland.com> <40bf8f94$1@newsgroups.borland.com> <40c46fee$1@newsgroups.borland.com> <40c49ec3$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <40d067b4$1@newsgroups.borland.com> Date: 16 Jun 2004 08:31:00 -0700 X-Trace: newsgroups.borland.com 1087399860 207.105.83.66 (16 Jun 2004 08:31:00 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail