Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!agate!shelby!labrea!daemon
From: combs@sumex-aim.stanford.edu (Dave Combs)
Newsgroups: comp.sys.next
Subject: [Dave Combs  : Re: HELP! Yet more
Message-ID: <24023@labrea.Stanford.EDU>
Date: 16 Aug 89 15:41:13 GMT
Sender: daemon@labrea.Stanford.EDU
Lines: 30

Gang,
I tried mailing directly to Adam Glass at MIT, but the mail didn't go
through.  Given possible relevance to others, I'm reposting here.

Dave

                ---------------

Date: Wed, 16 Aug 1989 8:34:16 PDT
Adam,
Concerning the newContent::::: call, the compiler error is correct.
Since you are not supplying values to the various arguments to the call
(even if NULL), it assumes that the tokens "style", "type" and "mask"
are actual values, instead of argument names.  Also, is "myRect" a pointer
to an NXRect, or an NXRect itself?  Final note: the argument name is
"buttonMask", not "mask."

The call probably should be:
  [Window newContent:&myRect 
           style:(some_integer_style)
         backing:(some_integer_buffering_type)
      buttonMask:(some_integer_buttonMask)
           defer:(some_BOOL_flag)]

(no parentheses are needed.)

All of this is documented in the 0.9 reference manual for the Window class.

Cheers,
Dave