I've populated a listview with names using Icon View.
The listview isn't full, and when you accidently catch a blank area of the listview it actually registers a click on the first item in the listview, which is triggering an event that hasn't actually happened.
Is there a way of catching a "non-click"
Thanks
John

I seem to recall needing to use the HitTest method to validate the ListItem that was just clicked. I captured the X/Y coords in the MouseDown then in the Click I validated that the click actually landed on a ListItem.
The HitTest method mentioned by tcarvin is sound. If you don't need the generic Click event though, it would be easier to opt for the ItemClick event instead. This should only fire when actually clicking on an item.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With