Article View: comp.sys.amiga.tech
Article #4458Re: Finding Windows
From: Peter Kittel GERMANY
Date: Fri, 20 Jul 1990 07:18
Date: Fri, 20 Jul 1990 07:18
16 lines
1374 bytes
1374 bytes
In article <1990Jul19.184648.11351@helios.physics.utoronto.ca> elrick@physics.utoronto.ca (Bruce Elrick) writes: >If I open a window using the dos Open() command, how can I find the >window structure (for, say, Windowtofront()) from the filehandle? I only know a dirty way that won't be totally waterproof: If the window is on Workbench then find Intuitionbase, scan the pointer chain of screens for the Workbench screen and take the pointer chain for windows inside this screen to search for your one. To identify your window you could search for your UNIQUE window title string. And this is already the caveat: You must be ABSOLUTELY sure that no other window on this screen has the same title string. As I said, a rather dirty way. -- Best regards, Dr. Peter Kittel // E-Mail to Commodore Frankfurt, Germany \X/ rutgers!cbmvax!cbmger!peterk
Technical Details
Message-ID:
<296@cbmger.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sunybcs!rutgers!cbmvax!cbmehq!cbmger!peterkReferences:
<1990Jul19.184648.11351@helios.physics.utoronto.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sunybcs!rutgers!cbmvax!cbmehq!cbmger!peterk From: peterk@cbmger.UUCP (Peter Kittel GERMANY) Newsgroups: comp.sys.amiga.tech Subject: Re: Finding Windows Message-ID: <296@cbmger.UUCP> Date: 20 Jul 90 07:18:22 GMT References: <1990Jul19.184648.11351@helios.physics.utoronto.ca> Reply-To: peterk@cbmger.UUCP (Peter Kittel GERMANY) Organization: Commodore Bueromaschinen GmbH, West Germany Lines: 16