G
Gary
To allow someone to drop something into a control is simple
dragenter put:
if (e->Data->GetDataPresent(DataFormats::Text))
e->Effect = DragDropEffects::Copy;
else
e->Effect = DragDropEffects::None;
and then DragLeave:
whatever the name->Text = e->Data->GetData(DataFormats::Text)->ToString();
But how do you let someone drag something out of your control and put it in
say Word? I've never been able to figure that out.
dragenter put:
if (e->Data->GetDataPresent(DataFormats::Text))
e->Effect = DragDropEffects::Copy;
else
e->Effect = DragDropEffects::None;
and then DragLeave:
whatever the name->Text = e->Data->GetData(DataFormats::Text)->ToString();
But how do you let someone drag something out of your control and put it in
say Word? I've never been able to figure that out.