Get Drag-and-Drop information for the last dropped file..
BOOL GetDragDropInfo( string & strWinName, int & iWinLayer, int & iFileIndex, int & iFileCount, string & strFileName )
True when success, else false.
EX1
void Project_GetDragDropInfo_ex1() { string strWinName, strFileName; int iWinLayer, iFileIndex, iFileCount; BOOL b = Project.GetDragDropInfo(strWinName, iWinLayer, iFileIndex, iFileCount, strFileName); if( b ) { printf("Project.DragDropInfo\n"); printf(" WinName = %s\n", strWinName); printf(" Layer = %d\n", iWinLayer); printf(" Index = %d\n", iFileIndex); printf(" Count = %d\n", iFileCount); printf(" FileName= %s\n", strFileName); } }
origin.h