Here is a solution offered by Bharat Patel of Microsoft in the microsoft.public.dotnet.languages.csharp newgroup. The attached solution contains both C# and VB.NET projects.
The solution use Interop with the LVM_GETSUBITEMRECT window’s message to loop through each subitem’s bounds rectangle until it finds the one that contains the specified mouse click point.
Share with