From 887d5f9f8d1309134c72b1f35afc7d007a5c64aa Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 1 Nov 2025 16:29:25 +0100 Subject: refactor invoice views --- src/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 948678c..ffdeb03 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -289,6 +289,14 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) switch (msg) { + case WM_GETMINMAXINFO: + { + MINMAXINFO* minMaxInfo = (MINMAXINFO*)lParam; + minMaxInfo->ptMinTrackSize.x = 1400; // Minimum width + minMaxInfo->ptMinTrackSize.y = 900; // Minimum height + return 0; + } + case WM_SIZE: if (wParam == SIZE_MINIMIZED) return 0; -- cgit v1.2.3-70-g09d2