Call ChangeDisplaySettingsEx.
We need to implement a test phase to verify that new settings are
correct.
Modified: trunk/reactos/lib/cpl/desk/settings.c
_____
Modified: trunk/reactos/lib/cpl/desk/settings.c
--- trunk/reactos/lib/cpl/desk/settings.c 2005-03-25 23:11:20 UTC
(rev 14323)
+++ trunk/reactos/lib/cpl/desk/settings.c 2005-03-25 23:21:00 UTC
(rev 14324)
@@ -518,9 +518,6 @@
||
CurrentDisplayDevice->CurrentSettings->dmPelsHeight !=
CurrentDisplayDevice->InitialSettings.dmPelsHeight
||
CurrentDisplayDevice->CurrentSettings->dmBitsPerPel !=
CurrentDisplayDevice->InitialSettings.dmBitsPerPel)
{
-#if 1
- MessageBox(NULL, TEXT("Sorry...
Applying changes is not implemented in ReactOS..."), TEXT("Display
settings"), MB_OK | MB_ICONSTOP);
-#else
/* FIXME: Need to test changes
*/
/* Apply new settings */
LONG rc;
@@ -554,7 +551,6 @@
MessageBox(NULL,
TEXT("Unknown error when applying new settings..."), TEXT("Display
settings"), MB_OK | MB_ICONSTOP);
break;
}
-#endif
}
}
break;
Show replies by date