Retrieves the most recently dropped file. You can use this inline function or explicitly send the EE_GET_DROPPED_FILE message.
Editor_GetDroppedFile( HWND hwnd, int nIndex, LPWSTR pszBuf );
Specifies the window handle of the view or frame of EmEditor.
Specifies the index of the dropped file. A zero-based index should be specified. If -1 is specified, the total number of the dropped files will be returned.
Specifies a buffer that will receive the dropped file name. The buffer size must be at least MAX_PATH in characters. This parameter can be NULL if -1 is specified in nIndex.
The return value is nonzero if the dropped file exists for the specified index. If -1 is specified in nIndex, the return value is the total number of the dropped files.
Supported on EmEditor Version 8.00 or later.
Send feedback on this topic to Emurasoft