支持界面随窗口尺寸等比缩放

This commit is contained in:
2026-04-24 11:08:38 +08:00
parent c8f90621b6
commit e8bbf609fd
3 changed files with 112 additions and 70 deletions
+3
View File
@@ -200,6 +200,9 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
InvalidateRect(hWnd, nullptr, FALSE);
}
break;
case WM_SIZE:
InvalidateRect(hWnd, nullptr, FALSE);
break;
case WM_KEYDOWN:
if (wParam == 'R')
{