diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-11-01 16:29:25 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-11-01 16:29:25 +0100 |
| commit | 887d5f9f8d1309134c72b1f35afc7d007a5c64aa (patch) | |
| tree | 77802f7526be4c76efbb80742f3f04df79a9b3b1 /src/main.cpp | |
| parent | a2918b9724a65ba147cfafc6bcf8d410a647330b (diff) | |
refactor invoice views
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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; |
