diff --git a/dll/cpl/desk/general.c b/dll/cpl/desk/general.c index e5891a02cf2..0266f04b1b5 100644 --- a/dll/cpl/desk/general.c +++ b/dll/cpl/desk/general.c @@ -150,6 +150,23 @@ AdvGeneralPageProc(HWND hwndDlg, break; } break; + case WM_NOTIFY: + { + LPNMHDR lpnm = (LPNMHDR)lParam; + switch (lpnm->code) + { + case PSN_APPLY: + { + HWND hFontSize = GetDlgItem(hwndDlg, IDC_FONTSIZE_COMBO); + INT iItem = SendMessage(hFontSize, CB_GETCURSEL, 0, 0); + INT Dpi = (INT)SendMessage(hFontSize, CB_GETITEMDATA, iItem, 0); + UpdateUIfontsDueToDPIchange(Dpi, Dpi); + //TODO: MessageBox + break; + } + } + break; + } } return Ret;