[BROWSEUI_APITEST] Strengthen IAutoComplete testcase on extended LV style (#3499)

Test the extended list-view style of the listview. CORE-9281
This commit is contained in:
Katayama Hirofumi MZ
2021-03-02 18:05:32 +09:00
committed by GitHub
parent e24d3cc952
commit a0e5c3d862

View File

@@ -453,6 +453,16 @@ DoTestCaseA(INT x, INT y, INT cx, INT cy, LPCWSTR pszInput,
ok(style == LIST_STYLE_2, "style was 0x%08lx\n", style);
ok_long(exstyle, 0);
ok_long((LONG)id, 0);
#define LIST_EXTENDED_LV_STYLE_1 \
(LVS_EX_DOUBLEBUFFER | LVS_EX_ONECLICKACTIVATE | \
LVS_EX_FULLROWSELECT | LVS_EX_TRACKSELECT) // 0x10068
#define LIST_EXTENDED_LV_STYLE_2 \
(LVS_EX_ONECLICKACTIVATE | LVS_EX_FULLROWSELECT | \
LVS_EX_TRACKSELECT) // 0x68
exstyle = ListView_GetExtendedListViewStyle(hwndList);
ok(exstyle == LIST_EXTENDED_LV_STYLE_1 /* Win10 */ ||
exstyle == LIST_EXTENDED_LV_STYLE_2 /* WinXP/Win2k3 */,
"exstyle was 0x%08lx\n", exstyle);
// no more controls
hwndNone = GetNextWindow(hwndList, GW_HWNDNEXT);