Author: gedmurphy
Date: Mon Oct 1 17:54:54 2007
New Revision: 29329
URL:
http://svn.reactos.org/svn/reactos?rev=29329&view=rev
Log:
use w3seek's control for single monitors displays
Modified:
trunk/reactos/dll/cpl/desk/settings.c
Modified: trunk/reactos/dll/cpl/desk/settings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/settings.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/desk/settings.c (original)
+++ trunk/reactos/dll/cpl/desk/settings.c Mon Oct 1 17:54:54 2007
@@ -314,9 +314,21 @@
}
else if (Result == 1)
{
+ MONSL_MONINFO monitors;
+
/* Single video adapter */
SendDlgItemMessage(hwndDlg, IDC_SETTINGS_DEVICE, WM_SETTEXT, 0,
(LPARAM)pGlobalData->DisplayDeviceList->DeviceDescription);
OnDisplayDeviceChanged(hwndDlg, pGlobalData, pGlobalData->DisplayDeviceList);
+
+ monitors.Position.x = monitors.Position.y = 0;
+ monitors.Size.cx =
pGlobalData->CurrentDisplayDevice->CurrentSettings->dmPelsWidth;
+ monitors.Size.cy =
pGlobalData->CurrentDisplayDevice->CurrentSettings->dmPelsHeight;
+ monitors.Flags = 0;
+ SendDlgItemMessage(hwndDlg,
+ IDC_SETTINGS_MONSEL,
+ MSLM_SETMONITORSINFO,
+ 1,
+ (LPARAM)&monitors);
}
else
{