Splash dialog and main window handle dpi change notifications.

This commit is contained in:
Bart House
2018-12-02 18:09:34 -08:00
parent 796bdce828
commit f3dcdc7fda
7 changed files with 134 additions and 85 deletions

View File

@@ -501,6 +501,10 @@ MainWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
exit(1);
break;
case WM_DPICHANGED: {
mswin_layout_main_window(NULL);
} break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}