Guest andylo Posted May 27, 2002 Posted May 27, 2002 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 Quote
Leaders John Posted May 27, 2002 Leaders Posted May 27, 2002 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 Quote "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 John Posted May 27, 2002 Leaders Posted May 27, 2002 Sorry forgot the attachment *sheesh* :D Orbity Quote "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 May 27, 2002 Posted May 27, 2002 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 Quote
*Gurus* divil Posted May 27, 2002 *Gurus* Posted May 27, 2002 It probably won't help, since the methods of doing this are quite different in the two languages. I haven't tried any drag and drop stuff in .NET yet. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
gyorgy89 Posted November 30, 2009 Posted November 30, 2009 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.