Skip to content

Commit c557ec9

Browse files
committed
Adding Subitem value to hitTest
1 parent e8e3875 commit c557ec9

File tree

1 file changed

+2
-0
lines changed
  • src/Microsoft.DotNet.Wpf/src/UIAutomation/UIAutomationClientSideProviders/MS/Internal/AutomationProxies

1 file changed

+2
-0
lines changed

src/Microsoft.DotNet.Wpf/src/UIAutomation/UIAutomationClientSideProviders/MS/Internal/AutomationProxies/WindowsListView.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,6 +1426,7 @@ static internal NativeMethods.LVHITTESTINFO_INTERNAL SubitemHitTest (IntPtr hwnd
14261426
result = XSendMessage.XSendGetIndex(hwnd, NativeMethods.LVM_SUBITEMHITTEST, IntPtr.Zero, new IntPtr(&hitTestNative), Marshal.SizeOf(hitTestNative.GetType()));
14271427
hitTest.flags = hitTestNative.flags;
14281428
hitTest.iItem = hitTestNative.iItem;
1429+
hitTest.iSubItem = hitTestNative.iSubItem;
14291430
hitTest.iGroup = hitTestNative.iGroup;
14301431
}
14311432
else
@@ -1434,6 +1435,7 @@ static internal NativeMethods.LVHITTESTINFO_INTERNAL SubitemHitTest (IntPtr hwnd
14341435
result = XSendMessage.XSendGetIndex(hwnd, NativeMethods.LVM_SUBITEMHITTEST, IntPtr.Zero, new IntPtr(&hitTestNative), Marshal.SizeOf(hitTestNative.GetType()));
14351436
hitTest.flags = hitTestNative.flags;
14361437
hitTest.iItem = hitTestNative.iItem;
1438+
hitTest.iSubItem = hitTestNative.iSubItem;
14371439
}
14381440
}
14391441
}

0 commit comments

Comments
 (0)