Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!ndcheg!ndmath!hardie From: hardie@ndmath.UUCP (Hardie Tankersley) Newsgroups: comp.sys.mac.programmer Subject: Color windows in LSC Message-ID: <1360@ndmath.UUCP> Date: 13 Apr 89 23:06:20 GMT References: none Distribution: na Organization: Math. Dept., Univ. of Notre Dame Lines: 10 I'm having trouble getting to my window's portPixMap with (imageWindow->portPixMap) and variations on this theme. The window is declared 'WindowPtr imageWindow', so maybe it doesn't treat it like a color window. But LSC refuses to let me declare a CWindowPtr or CWindowRecord. The only related color structure LSC seems to know about is a CGrafPort. But it won't let me cast my window pointer dereferenced into a CGrafPort. (i.e. ((CGrafPtr)*imageWindow)->portPixMap). Can someone please help me find my poor lost portPixMap? Thanks,