Article View: borland.public.cppbuilder.nativeapi
Article #8694Re: IExplorer and DestroyWindow
From: Andrea Cremonini
Date: Mon, 27 Sep 2004 18:05
Date: Mon, 27 Sep 2004 18:05
26 lines
1575 bytes
1575 bytes
Bob Gonder wrote: >Andrea Cremonini wrote: > > > >>I use ShellExecute to execute IExplorer and then FindWindow to get >>handle of IE. >>Then with this handle I may iconify or move IE, but when I try to close >>IE with DestroyWindow, system return an error that "Handle is not >>valid". How can I close IE window? >> >> > >You might try sending the handle a WM_CLOSE instead. > > > > Hi, first thank for your replay. I gave a look to WM_CLOSE, but I don't understand how use it to kill IE window. Must I use it with some programcall? Thanks. Andrea
Technical Details
Message-ID:
<41585678@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4158261c@newsgroups.borland.com> <tekgl01a80hijmcfsm3qsccsvl465jpg09@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c051890f43130adc X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 27 Sep 2004 20:05:48 +0200 From: Andrea Cremonini <andrea@jpolis.com> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: IExplorer and DestroyWindow References: <4158261c@newsgroups.borland.com> <tekgl01a80hijmcfsm3qsccsvl465jpg09@4ax.com> In-Reply-To: <tekgl01a80hijmcfsm3qsccsvl465jpg09@4ax.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.208.60.202 Message-ID: <41585678@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096308344 81.208.60.202 (27 Sep 2004 11:05:44 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail