Jump to content
Xtreme .Net Talk

MouseDown eat my double click.


Recommended Posts

Guest andylo
Posted

Hi all,

 

I have listView A and B. I tend to do drag and drop items from A to B by using following events (MouseDown in A, DragEnter into B, DragDrop in B) They works all fine and lovely Arr... in fact, these 2 listView are file list view.

 

Then I want to add a property page for the items in the listView (For example, file size, created date...) in listView A, I add a context menu as well as a double click event in ListView A so a user can view the selected files property either by rightclick the context menu or double click the file name.

 

The the property menu/doubleclcik doesn't work 99% of the time, finally I discover that the MouseDown "EATEN" the all the left/right click can not allowing me to proceed doubleclick and rightclick.

 

I believe lots of you had this problem before and should have a solution to it. Can anyone help me through it?

 

Thanks in advance

 

Andy

  • Leaders
Posted

This is a little app I wrote for someone a while ago to demonstrate how to do it.

 

Click around on the form to see what I mean. I am sure you could edit this to work for your purposes.

 

HTH,

Orbity

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
  • Leaders
Posted

Sorry forgot the attachment *sheesh* :D

 

Orbity

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Guest andylo
Posted

Firstly, Thanks.

 

But would you mind to copy and paste the source code here becasue I'm atually using VB.NET.

 

By looking at the code, I guess I will know what I should do. :)

 

Andy

  • 7 years later...
Posted

Hi John,

 

I can't open your distinguishclicks.zip, becouse the Winrar said that, the file is crashed, and the file size is 0 byte.

 

Please upload the file again.

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...