Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
Question[Solved] Drag'N'Drop to and on control [modified] Pin
lukeer2-Feb-11 4:04
lukeer2-Feb-11 4:04 
Hi Experts,

there is a control derived from System.Windows.Forms.Panel that I can drop things on. The panel shows a representation of what was dropped onto it. Further, I can drag things around on that panel, moving the representation in the process.

Now I have to change that behaviour in such a way, that representations get created OnDragEnter. Customers shall move things around without having to drop them and grab them again.

Now my problem is that OnMouseMove doesn't fire during drag'n'drop operation. Therefore, panel creates a representation OnDragEnter, but refuses to move it around until user releases the left mouse button.

Does anyone know of a solution for that problem?
Can I abort a drag'n'drop operation (there's no drgevent.Cancel)?


Ciao,


luker



-- Modified Friday, February 4, 2011 6:17 AM
AnswerRe: Drag'N'Drop to and on control Pin
Henry Minute2-Feb-11 9:25
Henry Minute2-Feb-11 9:25 
GeneralRe: Drag'N'Drop to and on control Pin
lukeer4-Feb-11 0:17
lukeer4-Feb-11 0:17 
Questionbound datagridview new row problem Pin
Erdinc272-Feb-11 2:22
Erdinc272-Feb-11 2:22 
AnswerRe: bound datagridview new row problem Pin
Not Active2-Feb-11 3:47
mentorNot Active2-Feb-11 3:47 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 4:13
Erdinc272-Feb-11 4:13 
GeneralRe: bound datagridview new row problem Pin
Not Active2-Feb-11 14:57
mentorNot Active2-Feb-11 14:57 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 20:48
Erdinc272-Feb-11 20:48 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 23:45
Erdinc272-Feb-11 23:45 
QuestionBind Combo Box with current year months Pin
sumit70341-Feb-11 23:19
sumit70341-Feb-11 23:19 
AnswerRe: Bind Combo Box with current year months Pin
Abhinav S2-Feb-11 0:07
Abhinav S2-Feb-11 0:07 
QuestionC# Movment Pin
C.CoderCreator1-Feb-11 22:22
C.CoderCreator1-Feb-11 22:22 
AnswerRe: C# Movment Pin
Thomas Krojer1-Feb-11 22:35
Thomas Krojer1-Feb-11 22:35 
AnswerRe: C# Movment Pin
Pete O'Hanlon1-Feb-11 23:05
mvePete O'Hanlon1-Feb-11 23:05 
GeneralRe: C# Movment Pin
C.CoderCreator1-Feb-11 23:10
C.CoderCreator1-Feb-11 23:10 
AnswerRe: C# Movment Pin
OriginalGriff1-Feb-11 23:40
mveOriginalGriff1-Feb-11 23:40 
AnswerRe: C# Movment Pin
RobCroll1-Feb-11 23:44
RobCroll1-Feb-11 23:44 
AnswerRe: C# Movment Pin
Luc Pattyn2-Feb-11 3:07
sitebuilderLuc Pattyn2-Feb-11 3:07 
GeneralRe: C# Movment Pin
OriginalGriff2-Feb-11 3:40
mveOriginalGriff2-Feb-11 3:40 
QuestionWhere to Start for URL Monitoring Pin
Anubhava Dimri1-Feb-11 19:26
Anubhava Dimri1-Feb-11 19:26 
AnswerRe: Where to Start for URL Monitoring Pin
Ravi Bhavnani2-Feb-11 5:33
professionalRavi Bhavnani2-Feb-11 5:33 
GeneralRe: Where to Start for URL Monitoring Pin
Dave Kreskowiak2-Feb-11 10:38
mveDave Kreskowiak2-Feb-11 10:38 
AnswerRe: Where to Start for URL Monitoring Pin
jim lahey2-Feb-11 6:32
jim lahey2-Feb-11 6:32 
GeneralRe: Where to Start for URL Monitoring Pin
Anubhava Dimri10-Feb-11 18:36
Anubhava Dimri10-Feb-11 18:36 
AnswerRe: Where to Start for URL Monitoring Pin
Dave Kreskowiak2-Feb-11 10:40
mveDave Kreskowiak2-Feb-11 10:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.