Philippe de Rochambeau writes: >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; ^^^^^^^^^^^^^^^should be of type Rect $bounds = new Rect 50, 50, 300, 300; > >$winType = zoomDocProc; > >$visible = 1; > >$closebox = 1; > >$win = new MacWindow $bounds, "Fentre", $visible, $winType, $closebox; > >WaitNextEvent while $win->window; > Nevertheless the programm still crashes with the error message: # Undefined subroutine &main::8 called. File 'Macintosh HD:_prg:MacPerl:MacPerl :lib:Mac:Windows.pm'; Line 395 which doesn't say much to me; but it works fine with other window procedures (e.g. zoomNoGrow) ziege - Michael Ziege Sallenbachstr. 11 8055 Zrich Switzerland tel. +41 1 463 8278 (priv.) +41 1 381 3757 (buis.) e-mail. ziege@ito.umnw.ethz.ch ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch