Hi all,
I'm implementing a to Drag & Drop from an external application(Desktop) on to a panel widget.
In the Function "CouldAcceptTypes", it accepted successfully, but in the function "ProcessDragDropCommand", InternalizeDrag always returns kFailure.
I am stuck at this point. I could not find any helpful references.
Pls kindly help me out from this problem.
Many thanks in advance.
Kimmex
#define dropTgtFlavor PMFlavor(kDesktopExternalFlavor)
myDropTarget::ProcessDragDropCommand( IDragDropController* controller, DragDrop::eCommandType action)
{
bool16 returnCode = kFailure;
do
{
if (controller->InternalizeDrag(dropTgtFlavor, dropTgtFlavor) != kSuccess) // always fail.
{
break;
}
....
}while(false);
}