Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I determine which column (subitem) has been clicked in a ListView?

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.

Bharat Patel, Microsoft



Page view counter