|
-
Aug 30th, 2012, 05:17 AM
#1
Thread Starter
Addicted Member
Listbox Mouse Double Click
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?
-
Aug 30th, 2012, 06:26 AM
#2
Re: Listbox Mouse 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|