[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Problem with zoomDocProc



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?

Philippe de Rochambeau

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch