🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #543

stopping new forms having focus

#543
From: SteveStewart
Date: Sun, 08 Aug 1999 00:00
16 lines
1613 bytes
Hi

I have a problem with showing delphi forms on the desktop. What I want to do
is open forms in the background (minimized), but still keep the foreground
form the user is using, focused. Problem is, even when the forms I open are
minimized (I'm using the new forms .show method
to do this by the way), they still take the focus away from the current
foreground form. Any idea how to open a form without giving it focus?

By the way, I realise that I could probably switch back to my foreground
form after the background form has opened, but this is a bit too messy for
my liking, as I think the potiental is there for the user to type something
on the background form instead of the foreground form during the switch (the
nature of my app means that a background form can open at any time).

Thanks in advance
Technical Details
Message-ID: <7olq3o$tld$1@news6.svr.pol.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1091e5,2cde2f994fdba1eb,start
X-Google-Attributes: gid1091e5,public
X-Google-Thread: 10baee,2cde2f994fdba1eb,start
X-Google-Attributes: gid10baee,public
From: "SteveStewart" <SteveStewart@Metals.Freeserve.co.uk>
Subject: stopping new forms having focus
Date: 1999/08/08
Message-ID: <7olq3o$tld$1@news6.svr.pol.co.uk>
X-Deja-AN: 510493712
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: abuse@theplanet.net
X-Trace: news6.svr.pol.co.uk 934177720 30381 62.136.51.100 (9 Aug 1999 05:48:40 GMT)
Organization: Customer of Planet Online
X-MSMail-Priority: Normal
NNTP-Posting-Date: 9 Aug 1999 05:48:40 GMT
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.winapi