mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
let WM_SIZE pass through
This commit is contained in:
parent
eab5dc43fa
commit
a8edc2a465
@ -306,6 +306,11 @@ LRESULT WINAPI fake_SendMessageA(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lPar
|
||||
lParam = MAKELPARAM(x, y);
|
||||
}
|
||||
|
||||
if (g_ddraw && g_ddraw->hwnd == hWnd && Msg == WM_SIZE && g_hook_method != 2)
|
||||
{
|
||||
Msg = WM_SIZE_DDRAW;
|
||||
}
|
||||
|
||||
LRESULT result = real_SendMessageA(hWnd, Msg, wParam, lParam);
|
||||
|
||||
if (result && g_ddraw && Msg == CB_GETDROPPEDCONTROLRECT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user