11 Jul
2023
11 Jul
'23
10:17 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/syslink.c:
DestroyWindow(hwnd); }
+static void test_link_id(void) +{ + HWND hwnd; + + hwnd = create_syslink(WS_CHILD | WS_TABSTOP | WS_VISIBLE, hWndParent); + ok(hwnd != NULL, "Failed to create SysLink window.\n"); + + /* test link1 */ + g_link_id = 0; + SendMessageA(hwnd, WM_LBUTTONDOWN, 1, MAKELPARAM( /* x */ 50, /* y */ 10 ));
Let's not put the comment inside MAKELPARAM. For example, /* test link1 at (50, 10) */ is enough. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3114#note_38639