1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

pass WM_GETMINMAXINFO to DefWindowProc

This commit is contained in:
FunkyFr3sh 2018-12-02 06:21:36 +01:00
parent 945b4c954a
commit c5ce766509

View File

@ -883,6 +883,8 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
switch(uMsg)
{
case WM_GETMINMAXINFO:
case WM_MOVING:
case WM_NCLBUTTONDOWN:
case WM_NCLBUTTONUP:
case WM_NCACTIVATE:
@ -1117,10 +1119,6 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
return DefWindowProc(hWnd, uMsg, wParam, lParam); /* Carmageddon fix */
}
case WM_MOVING:
{
return DefWindowProc(hWnd, uMsg, wParam, lParam);
}
case WM_MOVE:
{
if (ddraw->windowed)