We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DragAndDrop cursor not showing "copy" icon

Thread ID:





37901 Dec 1,2005 08:30 PM UTC Apr 13,2006 01:12 PM UTC WinForms 3
Tags: Tools
Jon Zucker
Asked On December 1, 2005 08:30 PM UTC

I have a drag and drop thing going on in a TreeViewAdv control. In the DragOver event handler, I can set the cursor effect (DragEventArgs.Effect) to one of several values. When I set it to DragDropEffects.None, the cursor appears as a circle with a slash through it, indicating that the drop is not allowed. When I set it to DragDropEffects.Move, the cursor appears as a gray box, indicating that the drop will move to the current destination. This is all great. But, when I set the cursor to DragDropEffects.Copy, I expect to see an icon that indicates a copy is allowed. Perhaps a gray box (like the Move icon) with an additional plus sign next to it. But instead, I get the circle with a slash through it. Shouldn''t the Copy cursor effect appear differently than the None cursor effect? How can I visually indicate the difference between a move and a copy?

Deepa TS [Syncfusion]
Replied On December 2, 2005 01:16 PM UTC

Hi Jzucker, I was able to see the issue and I will log a bug report rgarding this . Thanks for your patience and continued interest in Syncfusion products. Best regards, Deepa.T.S

Deepa TS [Syncfusion]
Replied On December 5, 2005 04:26 AM UTC

Hi Jzucker, You could track the progress of this bug fix at this link below http://www.syncfusion.com/support/issues/tools/Default.aspx?ToDo=view&questId=1135 Defect #1135 - In DragAndDrop , cursor is not showing "copy" icon in DragOver event handler. We appreciate your patience and cooperation. Regards, Deepa.T.S

Deepa TS [Syncfusion]
Replied On April 13, 2006 01:12 PM UTC

Hi Jzucker, My sincere apologies for the inconvenience caused. On consulting with the developer, it is confirmed that the DragOver event behavior is correct and its not a bug .Please take a look at the description given below. ItemDrag: Occurs when the user begin dragging an item. DragOver: Occurs when the mouse drags an item and it is moving over the client area of thie control. So, the priority is been given to the ItemDrag Event''s DragDropEffect.And treeViewAdv has the same behavior as the Standard .Net treeView. Please take a look at the attached sample,which illustrates the above. Thanks for your patience and interest in Syncfusion products. Regards, Deepa.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon