Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!csd4.csd.uwm.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Determining private entires in colormaps Message-ID: <8908231524.AA02265@expo.lcs.mit.edu> Date: 23 Aug 89 15:24:02 GMT References: <8908231457.AA02393@mycroft.mayo.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 9 Is there a generic way to determine which cells in a colormap are private (read only) and which are public (read-write)? I might argue you have your terms backwards, but no, there is no explict way to determine this. One very crufty way would be to grab the server, and then query each cell and try to write it back. If you don't get an error, it's writable. If you do get an error, though, you can't tell if it's read-only or unallocated.