Alex Arazi wrote:
- ok(rc.top == 2, "Expected 2, got %d\n", rc.top);
- ok(rc.bottom == 21, "Expected 21, got %d\n", rc.bottom);
- ok(rc.left == 0, "Expected 0, got %d\n", rc.left);
- ok(rc.right == 50, "Expected 50, got %d\n", rc.right);
I didn't really look at your new tests but the second of those tests you removed failed ("got 1" IIRC) on Windows (XP) because we don't create a parent window (and because the 21 is wrong. Should be 22 IIRC) - native comctl32 sometimes does some strange stuff when a control doesn't have one - so the test should create it.
Felix