Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!mcsun!isgate!krafla!aries From: aries@rhi.hi.is (Reynir Hugason) Newsgroups: comp.sys.mac.programmer Subject: Re: when color bits are changed... Message-ID: <1839@krafla.rhi.hi.is> Date: 10 Jul 90 20:26:25 GMT References: Organization: University of Iceland Lines: 14 >Does anyone know how an application can be noticed for user changing >the current color bits (I don't know the technical term),eg, from 8bit to 1bit >from the control panel's monitor? I suppose this is followed by an update >event of some sort.....or do I have toonstantly check by placing 256 different >colors and see how meny of them become same color? no...... there got to be >a better way.... Well, you could use the run through the device list every now and then, like once through your event loop, and check if anything has changed there. Pretty neat, at least better then using color mapping 8) --- Mimir (aries@rhi.hi.is) - Aries, Inc.