I am developing an application and on the mouse double click event of my listbox, i added a msgbox to appear. But there is a problem with that.
If scrollbars exist in the listbox and i double click on the scrollbars' arrows, the msg box appears. Is it possible to disable the mouse double
click on the scrollbars and make the even work only on item's double click?
You should be able to call IndexFromPoint using the coordinates of the event to determine whether it was on an item or not and only display the message if it is. I haven't tested that theory but it seems like it should work.