12 Jul
2022
12 Jul
'22
3:01 p.m.
Jinoh Kang (@iamahuman) commented about dlls/user32/tests/win.c:
DestroyWindow(hwnd); }
+static BOOL message_window_topmost_destroying = FALSE; + +static LRESULT WINAPI message_window_topmost_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) +{ + if (!message_window_topmost_destroying) + ok(msg != WM_KILLFOCUS, "WM_KILLFOCUS message was delivered\n");
We could also test for the delivery of `WM_WINDOWPOSCHANGING`, `WM_WINDOWPOSCHANGED`, `WM_MOVE`, `WM_SIZE`, and etc. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/419#note_3965