🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

WM_CLOSE, WM_DESTROY problem

#7801
From: PaoloItaly
Date: Mon, 20 Dec 2004 14:27
11 lines
1207 bytes
Hallo,
if i close all the window of my application "at hand", by clicking the X
button,
my child wndProc receive the wm_close, wm_destroy event.
Closing my application from the main window (PostQuitMessage(0)) no event
are
sended at child windows.
I've to take trace of opened windows myself and then call DestroyWindow, or
there is a built-in Windows method to do this job ?

Thanks in advance
Technical Details
Message-ID: <41c6e166@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7d205b36418f01bf,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "PaoloItaly" <paolot@FAKETHESPAMMERsirius-es.it>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: WM_CLOSE, WM_DESTROY problem
Date: Mon, 20 Dec 2004 15:27:17 +0100
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 85.32.246.173
Message-ID: <41c6e166@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103552870 85.32.246.173 (20 Dec 2004 06:27:50 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail