Author Topic: Drag and Drop;  (Read 1768 times)

0 Members and 1 Guest are viewing this topic.

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 7045
  • AKA Daniel
Drag and Drop;
« on: April 09, 2010, 05:53:42 AM »

When doing a drag and drop from my CTreeCtrl, I can only drag onto the first opened document, in this case only drawing1,
all others and acedStartOverrideDropTarget returns false. If I close drawing1 acedStartOverrideDropTarget always returns false.
Any thoughts?

BTY the dragging operation opens the drawing being dragged.

Thanks

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 7045
  • AKA Daniel
Re: Drag and Drop;
« Reply #1 on: April 09, 2010, 06:13:44 AM »
I think I got it I'm creating a new COleDropTarget instance for each document.. in CDocData

frtfff

  • Bull Frog
  • Posts: 227
Re: Drag and Drop;
« Reply #2 on: April 11, 2010, 08:58:19 PM »
 :kewl: