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

Re: [MacPerl] Mac::QuickDraw and Mac::Windows



At 12.50 -0400 1999.04.21, Jeremy Derr wrote:
>my $GWindow = new MacColorWindow(128);
>
>and that *should* open a new window according to resource WIND 128 in the
>script's resource fork. right?

I think it looks in the MacPerl resource fork.  Try something like:

  use Mac::Resources;
  OpenResFile($0) or die $^E;  # open current script resource fork

Something like that might do it.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org