Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site harvard.ARPA Path: utzoo!watmath!clyde!burl!ulysses!gatech!seismo!harvard!greg From: greg@harvard.ARPA (Greg) Newsgroups: net.micro.mac Subject: Custom windows and resources. Message-ID: <508@harvard.ARPA> Date: Sun, 17-Nov-85 16:41:58 EST Article-I.D.: harvard.508 Posted: Sun Nov 17 16:41:58 1985 Date-Received: Mon, 18-Nov-85 08:11:54 EST Distribution: net Organization: Harvard Lines: 15 I am writing a desk accessory in which I would like to have my own custom window. Apparantly, the window tools are designed to let you put your custom window in a resource. Can desk accessories have their own resources in the system file? If not, how do I make my own type of window without making a resource? Secondly, since the window frame is rather complicated, I would like to keep track of some extra variables in windowdefsproc. Because I am only using one such window, I could probably do this with global and/or static variables. But I may wish to use several such windows at once in an application in the future. If I use static variables, then there will be a variable conflict, because the Window Manager will call the same routine for two windows of this kind. How do I get around this? -- gregregreg