Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!hacgate!ashtate!dbase!awd From: awd@dbase.UUCP (Alastair Dallas) Newsgroups: comp.sys.mac.programmer Subject: Re: LSC and ColorWindows Summary: Are you including Color.h? Message-ID: <118@dbase.UUCP> Date: 17 Jun 89 19:57:26 GMT References: <5767@hubcap.clemson.edu> <1193@draken.nada.kth.se> Organization: Ashton Tate Devlopment Center Glendale, Calif. Lines: 16 In article <1193@draken.nada.kth.se>, d88-jwa@nada.kth.se (Jon W{tte) writes: > In article <5767@hubcap.clemson.edu> mikeoro@hubcap.clemson.edu (Michael K O'Rourke) writes: > >am trying to get a color window. However, LSC doesn't recognize that type. > > CwindowPtr's and WindowPtrs have to be the same in some instances for some > reasons. LSC should be able to handle casting them when you want to. Get > an upgrade, if you are using an older version than 3.0. Good Luck, anyway, > the Color Manager's a tough one ! Figuring out what could be wrong based on what people post is a lot like debugging code without a debugger. Very challenging. Here's my guess about Michael's problem: I think he's relying on rather than including all the .h files and since color.h isn't in MacHeaders, LSC doesn't recognize color windows. But my solution does assume LSC 3.0, so I could be wrong. /alastair/