🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Spying WM_QUIT Msgs

#11701
From: Rodrigo
Date: Mon, 19 Jan 2004 17:30
11 lines
1394 bytes
Hi... Im quite new on WinAPI programming.
My app can spawn external apps and store their HNDW. I want to use this
handle to be notified when WM_QUIT messages are posted to the spawned apps
because I need to know when they are closed (either by the system or by the
user). ... I'm currently reading on Message Queues and found the PeekMessage
function, however, I'm not sure that what I need can be done and how?

I'm developing under BCB5.

Thanks for your help...
<R>.
Technical Details
Message-ID: <400c14ed@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,43d7763b0e019d62,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-19 09:38:36 PST
Reply-To: "Rodrigo" <rmorteo@eudoramail.com>
From: "Rodrigo" <rmorteo@eudoramail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Spying WM_QUIT Msgs
Date: Mon, 19 Jan 2004 09:30:19 -0800
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.38.16.98
Message-ID: <400c14ed@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074533613 200.38.16.98 (19 Jan 2004 09:33:33 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!nx02.iad01.newshosting.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail