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.
Unfortunately, activation email could not send to your email. Please try again.

DragAndDrop cursor not showing "copy" icon

Thread ID:

Created:

Updated:

Platform:

Replies:

37901 Dec 1,2005 03:30 PM Apr 13,2006 09:12 AM Windows Forms 3
loading
Tags: Tools
Jon Zucker
Asked On December 1, 2005 03:30 PM

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 08:16 AM

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 4, 2005 11:26 PM

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 09:12 AM

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.

DragDropIconSample.zip

CONFIRMATION

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.

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.

;