Commit 78e7b3cf authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/listview: New hover value should be passed using LPARAM.

parent ea058d22
......@@ -11134,7 +11134,7 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return LISTVIEW_SetHotItem(infoPtr, (INT)wParam);
case LVM_SETHOVERTIME:
return LISTVIEW_SetHoverTime(infoPtr, (DWORD)wParam);
return LISTVIEW_SetHoverTime(infoPtr, (DWORD)lParam);
case LVM_SETICONSPACING:
return LISTVIEW_SetIconSpacing(infoPtr, (short)LOWORD(lParam), (short)HIWORD(lParam));
......
......@@ -4277,6 +4277,11 @@ static void test_hover(void)
ok_sequence(sequences, PARENT_SEQ_INDEX, hover_parent, "NM_HOVER block test", TRUE);
g_block_hover = FALSE;
r = SendMessage(hwnd, LVM_SETHOVERTIME, 0, 500);
expect(HOVER_DEFAULT, r);
r = SendMessage(hwnd, LVM_GETHOVERTIME, 0, 0);
expect(500, r);
DestroyWindow(hwnd);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment