mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 10:45:24 +00:00
[COMCTL32_APITEST]: Add a few more tests.
svn path=/trunk/; revision=74035
This commit is contained in:
parent
23cfe6bc43
commit
ae5c6647eb
|
@ -398,6 +398,14 @@ void Test_GetIdealSizeNoThemes()
|
|||
ok (ret == TRUE, "Expected BCM_GETIDEALSIZE to succeed\n");
|
||||
ok_size(s, 123, 72);
|
||||
DestroyWindow(hwnd2);
|
||||
|
||||
hwnd2 = CreateWindowW(L"Button", L"", i, 0, 0, 150, 72, hwnd1, NULL, NULL, NULL);
|
||||
ok (hwnd2 != NULL, "Expected CreateWindowW to succeed\n");
|
||||
memset(&s, 0, sizeof(s));
|
||||
ret = SendMessageW(hwnd2, BCM_GETIDEALSIZE, 0, (LPARAM)&s);
|
||||
ok (ret == TRUE, "Expected BCM_GETIDEALSIZE to succeed\n");
|
||||
ok_size(s, 150, 72);
|
||||
DestroyWindow(hwnd2);
|
||||
}
|
||||
DestroyWindow(hwnd1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue