Are you trying to set the cursor in the source or the target? I can't
tell from your original question. If it's the source, I believe the
event you want to handle is GiveFeedback. In the dragEnter event, the
target should set the Effect property of the DragEventArgs to indicate
which operations are allowed.

At least that's the way I remember it being supposed to work :)

-Ethan
-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Rolls, Robert
Sent: Tuesday, April 23, 2002 11: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.

Reply via email to