PDA

Click to See Complete Forum and Search --> : Difficult Drag and Drop Q


Bios
Feb 9th, 2001, 12:08 AM
ok...I asked this before, but no one seemed to know how to do it. So I'll ask again in hopes that someone who does know how to do it will see this, an help me.

I need to know how to drag something from the form to the desktop...All I need is to start a drag...like with object.drag or API. Then detect where (outside of the window) it is dropped. I need to be able to drop it in a folder in windows or on the desktop, and then have a function (probably using subclassing, I'm guessing) return the path of where it was dropped.

Bios
Feb 9th, 2001, 06:11 AM
Does anyone know how to do this?

I know it can be done, but still haven't figured it out, and I know it can't be too hard.

gwdash
Feb 9th, 2001, 05:06 PM
My VB is down right now, so i can't test it, but try the OLEDragDrop property for the object you want to try, and use the Drag? Event to return the path.

Bios
Feb 12th, 2001, 08:48 AM
nope...that didn't work OLE will allow me to drag files from a folder to my program, but as far as I can tell not from my program, and return where it was dropped like I wanted..