Article View: borland.public.cppbuilder.nativeapi
Article #7951Re: Controlling two Windows Explorers
From: Jeff Kish
Date: Thu, 09 Dec 2004 13:18
Date: Thu, 09 Dec 2004 13:18
28 lines
2048 bytes
2048 bytes
On 7 Dec 2004 23:58:40 -0800, "Thorsten Kettner" <QUESTIONBYthorsten.kettner@otto.de> wrote: > >Hi all, >I would like to write an app that starts two Windows Explorers, >changes their sizes so that one covers the upper half of the >screen and the other the lower half. I would disble resizing and >moving of the windows. Then I would catch some of their events. >If one gets activated I bring the other to front, too. If one >gets closed I close the other, too. > >Now my qwestion: Is that possible? (So many complain that Windows >Explorer opens just one window instead of two. But if it would be >so easy to do what I intend, then why has nobody done that yet?) > >You see, I ask because I am not familiar with hooking events and >deep Windows programming. If you say it's very hard or even >impossible, I will be thankful and avoid the pain. :-) > >Thorsten. I've seen software that does this before. WinBatch has some similar functionality. It should not be very "deep" to activate two new explorer windows, and use the API to move/size them. I'm not sure about the events. hth Jeff Kish
Technical Details
Message-ID:
<f3kgr0dr84i7j0epf437io9ta95sl0pcfi@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41b6b430$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,be8ec13cc9b902a5 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Jeff Kish <jeff.kish@mro.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Controlling two Windows Explorers Date: Thu, 09 Dec 2004 08:18:30 -0500 Message-ID: <f3kgr0dr84i7j0epf437io9ta95sl0pcfi@4ax.com> References: <41b6b430$1@newsgroups.borland.com> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 12.106.157.130 X-Trace: newsgroups.borland.com 1102598073 12.106.157.130 (9 Dec 2004 05:14:33 -0800) Lines: 28 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail