| 2.2.4.38.25 Project::GetDragDropInfoGetDragDropInfo
 DescriptionGet Drag-and-Drop information for the last dropped file..
 SyntaxBOOL GetDragDropInfo( string & strWinName, int & iWinLayer, int & iFileIndex, int & iFileCount, string & strFileName ) Parameters strWinName[output]The string that will receive the name of the window that the files were dropped on.  If not dropped on a window then the string will be blank. iWinLayer[output]The index of the window's layer that the files were dropped on. iFileIndex[output]The index of the dropped file currently being handled. iFileCount[output]The number of files that were dropped. strFileName[output]The string that will receive the file name of the dropped file.
 ReturnTrue when success, else false.
 ExamplesEX1
 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);
    }
}RemarkSee AlsoHeader to Includeorigin.h
 |