##--BEGIN-- @OPT_APPL_DRAGDROP // Drag / Drop support: TFileDrop::TFileDrop (char* fileName, TPoint& p, bool inClient, TModule*) { char exePath[MAXPATH]; exePath[0] = 0; FileName = strcpy(new char[strlen(fileName) + 1], fileName); Point = p; InClientArea = inClient; } TFileDrop::~TFileDrop () { delete FileName; } const char *TFileDrop::WhoAmI () { return FileName; } ##--END-- @OPT_APPL_DRAGDROP