c++ - How can I change my system colors to default? -
in c++ application wrongly changed system color:
const int val = color_highlighttext; const colorref color = rgb(255,0,0); ::setsyscolors(1, &val, &color);
how can restore backwards default settings?
the documentation on setsyscolors() @ http://msdn.microsoft.com/en-us/library/windows/desktop/ms724940%28v=vs.85%29.aspx says "the new colors not saved when system terminates." rebooting colours back.
there example of how copy of colors getsyscolors() before changing them setsyscolors(), , shows how restore colors.
Comments
Post a Comment