nfs1675@dsacg3.dsac.dla.mil (Michael S Figg) (06/04/91)
In article <1991Jun4.133739.9601@maytag.waterloo.edu>, markb@csg.uwaterloo.ca (Mark Brezina) writes: > > Hi. I need to know how to read the current system palette as a series > of RGB values. I've tried GetSystemPaletteEntries() but that function returns > 20 predefined colors, not necessarily the current colors Windows is using. > > Any suggestions? Try looking at GetPrefs() and SetPrefs(). It has been a long time since I used these but I think GetPrefs() will return a pointer to structure having all the preferances stuff in it. From there you can play with the colortable values, changing them with SetRGB4() I think. ---Mike, -- | Michael Figg DSAC-FSD My Karma ran over your Dogma! | DLA Systems Automation Center | Cols, Ohio mfigg@dsac.dla.mil | CIS: 73777,360