Article View: borland.public.delphi.nativeapi
Article #59Re: Multiplicity in Task Manager... Why?
From: Cruxy
Date: Wed, 21 Jan 2004 12:48
Date: Wed, 21 Jan 2004 12:48
15 lines
1611 bytes
1611 bytes
> I have a program that posts notes on the Windows desktop. The main > form of the program is hidden, and the program can be accessed via > the system tray. When a note (a new form that belongs to the > application) is created and posted on the desktop, I change the > parent of the form to the handle of the desktop. Everything works > well, BUT... > > When I create 5 notes, and open Task Manager, in the applications tab > it shows me that there are 5 instances of the program running. In the > processes tab it shows that there's only one process, which is > correct, because there's only one instance of the program running. > Why does it show a separate task for every note? How can I fix it? I think this happens because the parent of the forms is the desktop and not the hidden main form (or your application object).
Technical Details
Message-ID:
<400e7512@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<400e4403$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94dd,4b40f74e786100fd X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2004-01-21 05:09:41 PST From: "Cruxy" <cruxyATcruxyDOTnet> Subject: Re: Multiplicity in Task Manager... Why? Newsgroups: borland.public.delphi.nativeapi References: <400e4403$1@newsgroups.borland.com> User-Agent: XanaNews/1.15.8.5 Date: Wed, 21 Jan 2004 13:48:15 +0100 NNTP-Posting-Host: 195.70.103.31 Message-ID: <400e7512@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074689298 195.70.103.31 (21 Jan 2004 04:48:18 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail