1 Attachment(s)
Using frame as OLE Drag source?
Does anyone know of a trick to use a frame as the source of an OLE drag? I display some data from an object in a frame, and would like to be able to drag and drop it onto an entry form. This works fine from my search form, because the source there is a ListView. Problem is, a frame is not an OLE drag source. I've tried putting the frame inside a picture box and using that to initiate drags, but I can't get the events to fire. The attached project will give a basic idea of what I would like to do.
Re: Using frame as OLE Drag source?
Comintern,
just an idea.
on frame mouse Move, if LeftButton down,
you hide the frame and use setcapture(). change the mouse cursor to a drag icon. on the LeftButton up (this mean DragDroped) you do what you want to do in the frame DragDrop event.