Commit b6b9ea76 authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

user32/tests: Trace foreground window name.

parent 34548b4d
......@@ -766,6 +766,7 @@ static void test_foregroundwindow(void)
WNDCLASSA wclass;
wnd_param param;
DWORD ret;
char win_text[1024];
#define DESKTOPS 2
......@@ -820,6 +821,8 @@ static void test_foregroundwindow(void)
ret = SetForegroundWindow(hwnd_test);
Sleep(250);
hwnd = GetForegroundWindow();
GetWindowText(hwnd, win_text, 1024);
trace("hwnd %p name %s\n", hwnd, win_text);
if (input_desk_id == hwnd_id)
{
if (input_desk_id == thread_desk_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment