knot@contact.uucp (Knot) (09/16/90)
Near the end of July a FindWindow() routine to find the current console window was posted by deven@rpi.edu. The routine works fine, in as much as I can locate the console window and extract the current size, position etc., but when I attempt to resize, move or change the window in any way I get a Software Failiure. Here's an excerpt from my program: struct Window *console; console = FindWindow(); SizeWindow( console, 10,10); Any suggestions? -- ------------------------------------------------------------------------------ An attack may lack ingenuity, but it must be delivered with supernatural speed ------------------------------------------------------------------------------ knot@contact.UUCP ||| uunet!(utgpu!moore,attcan!telly)!becker!contact!knot
deven@rpi.edu (Deven T. Corzine) (09/21/90)
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.
karlht@tsunami.Berkeley.EDU (Karl H. Thiessen) (09/22/90)
On 15 Sep 90 19:44:49 GMT, knot@contact.uucp (Knot) said: Knot> Here's an excerpt from my program: Knot> struct Window *console; Knot> console = FindWindow(); Knot> SizeWindow( console, 10,10); Knot> Any suggestions? Just one, and it's extremely simple. Try: SizeWindow( console, 10L, 10L ); Just a thought. --Karl