i don't think you can do that. If you are coding a project and you want to isolate the colors that i would suggest you use a global function that does something like.
COLORREF MyGetSysColor( int nIndex )
{
COLORREF clr = 0;
switch( nIndex )
{
case COLOR_WINDOW:
clr = RGB( 255,0,255 );
break;
case COLOR_3DFACE:
clr = RGB( 239, 130, 0 );
break;
default:
clr = ::GetSysColor( nIndex );
break;
};
return clr;
}
Thats probably the best you're going to get away with, that is without changing the entire system's color scheme. Joseph Dempsey joseph_r_dempsey@yahoo.com "Software Engineering is a race between the programmers, trying to make bigger and better fool-proof software, and the universe trying to make bigger fools. So far the Universe in winning." --anonymous