mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[DESKADP][DESKMON] Notify property sheet that DWLP_MSGRESULT is set
When FALSE is returned, Apply button ignores validation result and becomes disabled after clicking as if settings were applied. Fix it by setting the return value to TRUE. See https://docs.microsoft.com/en-us/windows/win32/controls/psn-apply
This commit is contained in:
parent
568383c9b9
commit
fced1c1192
2 changed files with 2 additions and 0 deletions
|
@ -422,6 +422,7 @@ DisplayAdapterDlgProc(HWND hwndDlg,
|
|||
SetWindowLongPtr(hwndDlg,
|
||||
DWLP_MSGRESULT,
|
||||
ApplyDisplayAdapterChanges(This));
|
||||
Ret = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -666,6 +666,7 @@ MonitorDlgProc(HWND hwndDlg,
|
|||
SetWindowLongPtr(hwndDlg,
|
||||
DWLP_MSGRESULT,
|
||||
ApplyMonitorChanges(This));
|
||||
Ret = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue