mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
use w3seek's control for single monitors displays
svn path=/trunk/; revision=29329
This commit is contained in:
parent
221f21c62a
commit
a6d6a2af53
1 changed files with 12 additions and 0 deletions
|
@ -314,9 +314,21 @@ OnInitDialog(IN HWND hwndDlg)
|
|||
}
|
||||
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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue