Article View: borland.public.cppbuilder.nativeapi
Article #12618How to terminate an application, if you just know the window (HWND)?
From: MR
Date: Sun, 23 Nov 2003 10:26
Date: Sun, 23 Nov 2003 10:26
16 lines
1213 bytes
1213 bytes
How to terminate an application, if you just know the window (HWND)? Perhaps it is even easier: This application is automatically closed, if I click on the window close-button (x) or press the ESC-key. I tried DestroyWindow(my_hwnd); but this does not work. Thanks, Michael
Technical Details
Message-ID:
<4j21svs6vheoao1pci01rc5dfgu5foag8t@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b0b54b319450e271,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-23 02:39:09 PST From: M_R <> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to terminate an application, if you just know the window (HWND)? Date: Sun, 23 Nov 2003 11:26:13 +0100 Message-ID: <4j21svs6vheoao1pci01rc5dfgu5foag8t@4ax.com> X-Newsreader: Forte Free Agent 1.93/32.576 Deutsch (Standard) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.54.243.246 X-Trace: newsgroups.borland.com 1069583171 213.54.243.246 (23 Nov 2003 02:26:11 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail