Implementing SPI_SETHIGHCONTRAST

All development related issues welcome

Moderator: Moderator Team

Post Reply
zehdeh
Posts: 7
Joined: Thu May 22, 2008 12:40 am

Implementing SPI_SETHIGHCONTRAST

Post by zehdeh »

hi,
I try to implement the "SPI_SETHIGHCONTRAST"-Case in SystemParametersInfoA() at Desktop.c . To get the whole system in High-Contrast-Colors, I made a second COLORREF, called SysColorsContrast ( bellow the SysColors ). Then i put this code in the case, to change all colors:

Code: Select all

for(i = 0; i < NUM_SYSCOLORS; i++)
				{
					SetSysColors(NUM_SYSCOLORS, &i, &SysColorsContrast);
			}
1. Should there be this second COLORREF or should it be an own theme? (In Windows you get it as a theme, but it's also a accessibility-tool)
2. There should also be an Boolean to detect if the system is in HIGHCONTRAST-mode. But where?
Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Post by Haos »

You should ask about it on #reactos irc channel on ir.freenode.net or write on ros-dev maillist.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest