On Fri, 10 Jun 2011 14:25:06 +0000, Lee J. Moore wrote:
> On Fri, 10 Jun 2011 15:16:48 +0200, Zach wrote:
>
>> Using the code below I can change the screen color. How can I ascertain
>> the colors as they are before changung them, so I can change the colors
>> back to what they were upon leaving the application?
>
> This seems too obvious so maybe I'm missing something, but have you
> tried GetSysColor() with the COLOR_DESKTOP parameter?
Further to this, there's an example of how to do it in the MSDN library:
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
--
Lee J. Moore
Cheshire, UK
"He who knows, does not speak. He who speaks, does not know." - Lao Tzu