Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!netserv2!deven From: deven@rpi.edu (Deven T. Corzine) Newsgroups: comp.sys.amiga.tech Subject: Re: Finding Console Windows II Message-ID: Date: 21 Sep 90 11:20:50 GMT References: <1990Sep15.194449.11011@contact.uucp> Organization: Rensselaer Polytechnic Institute, Troy, NY Lines: 42 In-Reply-To: knot@contact.uucp's message of 15 Sep 90 19:44:49 GMT On 15 Sep 90 19:44:49 GMT, knot@contact.uucp (Knot) said: Knot> Near the end of July a FindWindow() routine to find the current Knot> console window was posted by deven@rpi.edu. The routine works Knot> fine, in as much as I can locate the console window and extract Knot> the current size, position etc., but when I attempt to resize, Knot> move or change the window in any way I get a Software Failiure. That's strange. I don't believe I tried moving or resizing the window, but I know I tried changing the window/screen titles, and that worked well enough. Unfortunately, I just moved, and I don't currently have much spare time, and I also don't have an Amiga available for experimentation, so I can't offer a solution. Knot> Here's an excerpt from my program: Knot> struct Window *console; Knot> console = FindWindow(); Knot> SizeWindow( console, 10,10); Knot> Any suggestions? Is that out of the legal range for the window? I shouldn't think it would matter, but does it work with 100x100? Maybe it's something even more obvious, but I haven't done much Intuition programming, and I don't have my RKMs with me or anything. If you or someone else can look into the problem further, maybe I could help, but right now, I can't do much... Sorry. Deven p.s. Any Amiga enthusiasts in the Cincinnati area? send me Email or something... -- Deven T. Corzine Internet: deven@rpi.edu, shadow@pawl.rpi.edu Snail: 2214 12th St. Apt. 2, Troy, NY 12180 Phone: (518) 271-0750 Bitnet: deven@rpitsmts, userfxb6@rpitsmts UUCP: uunet!rpi!deven Simple things should be simple and complex things should be possible.