Philippe de Rochambeau writes 346FFBE5.BC33CE6A@club-internet.fr today: >When I use 'zoomDocProc' as window procedure in the MacWindow command, I get >the following error message: > ># Usage: Mac::Windows::GetNewWindow(windowID, behind=(GrafPtr)-1). >File 'Macintosh HD:MacPerl :lib:Mac:Windows.pm'; Line 397 > >On my PowerBook 5300, I get error number 2. > >Furthermore, stopping the following program using Command-period also causes >an error number 2 on my PowerBook: > >use Mac::Windows; >use Mac::Events; > >$bounds = 50, 50, 300, 300; >$winType = zoomDocProc; >$visible = 1; >$closebox = 1; >$win = new MacWindow $bounds, "Fentre", $visible, $winType, $closebox; > >WaitNextEvent while $win->window; > >Is this a bug? There is a slip of the pen here -- it should be $bounds = new Rect(), I think, but even with this amendment MacPerl crashes badly with with 'zoomDocProc' I find. (515r4/PPC/MacOS8) Alan Fry ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch