user32: Add test for drop down width in test_changesize().

This commit is contained in:
Austin English 2010-05-22 02:25:13 -05:00 committed by Alexandre Julliard
parent 85cc2c13f6
commit 8ee8806773
1 changed files with 2 additions and 0 deletions

View File

@ -384,6 +384,8 @@ static void test_changesize( DWORD style)
rc.right - rc.left, clwidth - 2);
ok( rc.bottom - rc.top == ddheight, "drop-down rect height is %d vs %d\n",
rc.bottom - rc.top, ddheight);
ok( rc.right - rc.left == ddwidth -2, "drop-down rect width is %d vs %d\n",
rc.right - rc.left, ddwidth - 2);
/* new cx, cy is slightly bigger than the initial values */
MoveWindow( hCombo, 10, 10, clwidth + 2, clheight + 2, TRUE);
GetClientRect( hCombo, &rc);