WM2003SE
I create programm - for hardware button. Press - ClearType on or off realtime.
But GUI it is not updated. When I use Setting-Control Panel - Screen, GUI is
updated real. How to me to make, that the interface was updated?
HKEY hKeyN2;
int rc;
DWORD dwDisp;
rc = RegOpenKeyEx (HKEY_LOCAL_MACHINE, TEXT ("System\\GDI\\CLEARTYPE"), 0,
KEY_QUERY_VALUE, &hKeyN2);
RegCloseKey( hKeyN2 );
if (rc == 0)
{
RegDeleteKey(HKEY_LOCAL_MACHINE, TEXT ("System\\GDI\\CLEARTYPE"));
}
else
{
RegCreateKeyEx (HKEY_LOCAL_MACHINE, TEXT("System\\GDI\\CLEARTYPE"), 0,TEXT
(""), 0, 0, NULL, &hKeyN2, &dwDisp);
}