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

0 Members and 1 Guest are viewing this topic.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 7486
  • 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
Retired

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 7486
  • 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
Retired

frtfff

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