Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!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: <24022@labrea.Stanford.EDU> Date: 16 Aug 89 15:35:59 GMT Lines: 36 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 From: Dave Combs To: adam@mit-amt.media.mit.edu (Adam Glass) Subject: Re: HELP! Yet more problems with making new windows... In-Reply-To: Your message of 16 Aug 89 14:24:45 GMT Message-ID: 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 parameter 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