comctl32/tests: Don't use magic numbers for ListView exstyles.

This commit is contained in:
Nikolay Sivov 2009-05-17 23:47:38 +04:00 committed by Alexandre Julliard
parent d93aab9c2a
commit 45b8e6a4f9
1 changed files with 3 additions and 1 deletions

View File

@ -410,7 +410,9 @@ static void test_images(void)
10, 10, 100, 200, hwndparent, NULL, NULL, NULL);
ok(hwnd != NULL, "failed to create listview window\n");
r = SendMessage(hwnd, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, 0x940);
r = SendMessage(hwnd, LVM_SETEXTENDEDLISTVIEWSTYLE, 0,
LVS_EX_UNDERLINEHOT | LVS_EX_FLATSB | LVS_EX_ONECLICKACTIVATE);
ok(r == 0, "should return zero\n");
r = SendMessage(hwnd, LVM_SETIMAGELIST, 0, (LPARAM)himl);