Article View: borland.public.cppbuilder.nativeapi
Article #11712Re: Spying WM_QUIT Msgs
From: Remy Lebeau (TeamB)
Date: Tue, 20 Jan 2004 02:06
Date: Tue, 20 Jan 2004 02:06
21 lines
1758 bytes
1758 bytes
"Rodrigo" <rmorteo@eudoramail.com> wrote in message news:400c4e89@newsgroups.borland.com... > 1).-How difficult will it be to sincronize all threads to update a > single GUI Object (TreeView) so the user is informed about > the apps status? Not too hard at all. If you use TThread, then simply call its Synchronize() method when needed, and inside the synced method you can do anything you want with the TreeView. When you start a thread, you should pass it some information about the particular TreeNode that it is going to be updating so that it can then do so directly. > 2).-Can I intercept a "shut down" or "restart" message to process > some code before my app is closed? Just use your form's OnClose or OnCloseQuery event for that. Gambit
Technical Details
Message-ID:
<400c8ba6$1@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:
<400c14ed@newsgroups.borland.com> <400c4532$1@newsgroups.borland.com> <400c4e89@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,43d7763b0e019d62 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-19 18:09:51 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <400c14ed@newsgroups.borland.com> <400c4532$1@newsgroups.borland.com> <400c4e89@newsgroups.borland.com> Subject: Re: Spying WM_QUIT Msgs Date: Mon, 19 Jan 2004 18:06:34 -0800 Lines: 23 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: 67.22.138.253 Message-ID: <400c8ba6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074564006 67.22.138.253 (19 Jan 2004 18:00:06 -0700) 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