Article View: borland.public.cppbuilder.nativeapi
Article #514Re: How to ... ?
From: Asger Joergensen
Date: Fri, 25 Jan 2008 15:09
Date: Fri, 25 Jan 2008 15:09
22 lines
1862 bytes
1862 bytes
Hi Jos Jos says: > I tried that. But imagine that the programs ar unrelated. > > For example, I am writing a text in Word. My home made program appears > to inidicate that a job has been completed. It appears on top, and it > takes focus. It cannot give the focus back to Word, since it does not > know whence the focus came. I wasn't aware that it was two different applications but I'm gladd You got it working. You could probably also use: ShowWindow with the SW_SHOWNOACTIVATE flag I think You could also use a THintWindow to show such a message, something like the windows update does. Kind regards Asger
Technical Details
Message-ID:
<MPG.22041a2ff436fc13989a1c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<871ip39v9f1nqt1f3i2pk22bpfifsl6p3t@4ax.com> <479905e2$1@newsgroups.borland.com> <pbajp3d5r5g754trs4jdqh8e28srn3cq1u@4ax.com> <MPG.2203f216630e254a989a19@newsgroups.borland.com> <ojnjp3lgum0k2f3v7qnqkuk5rcdkhuba7k@4ax.com> <MPG.220400dcaf097a14989a1b@newsgroups.borland.com> <ohqjp3tnknh2vl5h7oe8991n8gt4psu1ku@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,92f426904d27d7ce X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Asger Joergensen <junk@Asger-P.dk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to ... ? Date: Fri, 25 Jan 2008 16:09:59 +0100 Message-ID: <MPG.22041a2ff436fc13989a1c@newsgroups.borland.com> References: <871ip39v9f1nqt1f3i2pk22bpfifsl6p3t@4ax.com> <479905e2$1@newsgroups.borland.com> <pbajp3d5r5g754trs4jdqh8e28srn3cq1u@4ax.com> <MPG.2203f216630e254a989a19@newsgroups.borland.com> <ojnjp3lgum0k2f3v7qnqkuk5rcdkhuba7k@4ax.com> <MPG.220400dcaf097a14989a1b@newsgroups.borland.com> <ohqjp3tnknh2vl5h7oe8991n8gt4psu1ku@4ax.com> Organization: Asger-P MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 NNTP-Posting-Host: 83.73.201.25 X-Trace: newsgroups.borland.com 1201273795 83.73.201.25 (25 Jan 2008 07:09:55 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail