🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #512

Re: How to ... ?

#512
From: Jos�
Date: Fri, 25 Jan 2008 13:58
19 lines
1782 bytes
On Fri, 25 Jan 2008 14:21:52 +0100, Asger Joergensen <junk@Asger-P.dk>
wrote in borland.public.cppbuilder.nativeapi:

>> Thanks. It does stay on top (fine), but it also takes focus (wrong).
>> This means, when I am typing and the form appears unexpectedly
>> (because its Visible property is set), my typing disappears into
>> oblivion.
>
>You can set the focus back to the form You are writing in just
>use SetWindowPos with some other flags.

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.
-- 
Jos�
Technical Details
Message-ID: <ohqjp3tnknh2vl5h7oe8991n8gt4psu1ku@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,92f426904d27d7ce
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII
From: Jos� <jose@127.0.0.1>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to ... ?
Date: Fri, 25 Jan 2008 14:58:04 +0100
Message-ID: <ohqjp3tnknh2vl5h7oe8991n8gt4psu1ku@4ax.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>
X-Newsreader: Forte Agent 4.2/32.1117
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 82.75.73.146
X-Trace: newsgroups.borland.com 1201269494 82.75.73.146 (25 Jan 2008 05:58:14 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail