jpd00964@uxa.cso.uiuc.edu (08/17/89)
/* Written 9:24 am Aug 16, 1989 by adam@mit-amt.MEDIA.MIT.EDU in uxa.cso.uiuc.edu:comp.sys.next */ /* ---------- "HELP! Yet more problems with making" ---------- */ > windowid = [Window newContent:myRect:style:type:mask:YES]; // line 574 > [windowid makeKeyAndOrderFront]; // line 575 > scrollid = [ScrollView newFrame:&myRect]; // line 576 > >Post-read notes: cc complains (at compile time) that it can't find the method >"newContent", the method on the first line of code. It also complains that it >can't find "newFrame", but it crashes before it gets to that point on a run. You better believe it can't find that method. myRect, style, type, and mask I am assuming are of the correct types. You need the words style, backing, buttonMask, and defer in there though. It knows you have 5 variables because you have 5 colons. You need all the text, not just the first one. This may seem silly, but it actually is better. It allows you to have - a:(int)number b:(int)number; - a:(int)number c:(int)number; and these would be two entirely different messages. Michael Rutman Softmed
jpd00964@uxa.cso.uiuc.edu (08/23/89)
/* Written 10:18 am Aug 22, 1989 by dz@kiwi.ucsb.edu in uxa.cso.uiuc.edu:comp.sys.next */ In article <1796@ibmpa.UUCP> dayglow@ibmpa.UUCP (Eric Ly) writes: >>For each >>class that you use, make sure you include the header file for that class. > >You can also put a line like: > >#import <appkit/appkit.h> > >This will include everything in sight, so you won't have to worry >about getting your particular include file. Of course, this means >that the compiles will be a little slower, but that's the price you >have to pay. Unfortunatly, wrong. You get all but the PopUpList. Obviously an oversight. Michael Rutman softmed