Article View: borland.public.cppbuilder.nativeapi
Article #8690IExplorer and DestroyWindow
From: Andrea Cremonini
Date: Mon, 27 Sep 2004 14:39
Date: Mon, 27 Sep 2004 14:39
11 lines
1175 bytes
1175 bytes
Hi, 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? Someone may help me? Thanks in advance. Andrea
Technical Details
Message-ID:
<4158261c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!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-Thread: 10cc67,c051890f43130adc,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 27 Sep 2004 16:39:27 +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: IExplorer and DestroyWindow Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.208.60.202 Message-ID: <4158261c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096295964 81.208.60.202 (27 Sep 2004 07:39:24 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail