Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!news.iastate.edu!niko From: niko@iastate.edu (Schuessler Nikolaus E) Newsgroups: comp.sys.mac.programmer Subject: Getting thoes @#!$ 256 colors to show themselves Message-ID: <1990Dec18.044354.1245@news.iastate.edu> Date: 18 Dec 90 04:43:54 GMT Sender: news@news.iastate.edu (USENET News System) Distribution: na Organization: Iowa State University, Ames, IA Lines: 50 Hey. I'm trying to get 256 colors displayed on any screen in any format and am failing miserably. :-( Here is what I have: SetRect(&bnds,10,40,620,470); wind= NewCWindow(NULL,&bnds,"\pMy Window",1,plainDBox,NULL,1,0L); InitCursor(); SetCursor(&arrow); ShowCursor(); ctbhndl=GetCTable(8); /* gets 8 bit color table from rom */ SetWinColor(wind,ctbhndl); /* sets the windows color table */ for (i=0; i