Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

External Flavor Drag&Drop

$
0
0

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);

}


Viewing all articles
Browse latest Browse all 78596


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>