Add a test for GW_HWNDLAST.

This commit is contained in:
Dmitry Timoshkov 2004-04-13 21:15:51 +00:00 committed by Alexandre Julliard
parent 38deeb4fd2
commit 6ba0d27e45
1 changed files with 1 additions and 0 deletions

View File

@ -1244,6 +1244,7 @@ static void test_window_tree(HWND parent, const DWORD *style, const int *order,
hwnd = GetWindow(parent, GW_CHILD);
ok(hwnd != 0, "GetWindow(GW_CHILD) failed\n");
ok(hwnd == GetWindow(child[total - 1], GW_HWNDFIRST), "GW_HWNDFIRST is wrong\n");
ok(child[order[total - 1]] == GetWindow(child[0], GW_HWNDLAST), "GW_HWNDLAST is wrong\n");
for (i = 0; i < total; i++)
{