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.