Terribly sorry... look at Control.DoDragDrop. You need to set the effects as Ethan suggests. Something like:
private void MyDraggableButton_MouseDown(object sender, MouseEventArgs e) { this.DoDragDrop(myInfoObj, DragDropEffects.Move); } or private void MyDragTargetPanel_DragEnter(object sender, DragEventArgs e) { e.effect = DragDropEffects.Copy; } And be sure to set the AllowDrop property to true. this.MyDragTargetPanel.AllowDrop = true; jason -----Original Message----- From: Rolls, Robert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 8:16 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Changing cursor in Drag And drop operations You wouldn't care showing us how you got it to work. On the dragenter/dragmove and draleave I'm setting the cursor to no avail. -----Original Message----- From: Jason Sellers [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 24 April 2002 2:25 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Changing cursor in Drag And drop operations Cursor.Current = Cursors.WhicheverYoudLike; jason -----Original Message----- From: Alex Lehmberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 7:40 AM To: [EMAIL PROTECTED] Subject: [DOTNET] Changing cursor in Drag And drop operations When writing a Windows Forms app I want to do a drag and drop operation. Is there any way I can change the cursor to one of my own choice while dragging the mouse? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. **********************************************************************" This correspondence is for the named person's use only. It may contain confidential or legally privileged information or both. " No confidentiality or privilege is waived or lost by any " mistransmission. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Vodafone. This email has been checked for viruses. ************************************************************************ ********************** You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.