🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: send message don't always work

#15263
From: Remy Lebeau (TeamB)
Date: Mon, 14 Jul 2003 17:23
12 lines
1393 bytes
"sharon oknin" <sharon@benarit.com> wrote in message
news:3f125f63@newsgroups.borland.com...

> To shut down the other process i use
> hPrevApp = ::FindWindow(NULL, AppCot); and then
> SendMessage(hPrevApp, WM_SYSCOMMAND, SC_CLOSE, 0); to shut it down .

Try using WM_QUIT or WM_CLOSE instead of WM_SYSCOMMAND.


Gambit
Technical Details
Message-ID: <3f12e5d8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!ngpeer.news.aol.com!newsfeed1!bredband!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f125f63@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,664aaa3063a073ce
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-14 10:41:23 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f125f63@newsgroups.borland.com>
Subject: Re: send message don't always work
Date: Mon, 14 Jul 2003 10:23:23 -0700
Lines: 14
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.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f12e5d8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058203096 207.175.226.26 (14 Jul 2003 10:18:16 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!ngpeer.news.aol.com!newsfeed1!bredband!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail