Click to See Complete Forum and Search --> : UserControl doesn't receive DragDrop Event...


Homero
September 19th, 2001, 10:45 PM
Hi,
I've created a UserControl and I need to add dinamically to a form and allow the user to do a drag and drop operation with it. The problem, is that the control doesn't recevie the DragDrop event on itself. Any idea??? Or some related link that explain the implementation of drag and drop for visual editing applications, will be appreciated.

Thanks in advance !!!!!

Cimperiali
September 20th, 2001, 02:36 AM
'how about:
UserControl_OLEDragDrop(Data as DataObject, Effect as Long, Button as Integer, Shift as Integer, X as Single, Y as Single)
'?





Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.

The Rater

Homero
September 21st, 2001, 04:44 PM
Thanks by the answer but it still doesn't work.
Any idea???

ThanX !!!!

Ungi
April 24th, 2002, 06:07 AM
had a problem like you. found solution at:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q196131