Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Messages

EmEditor Plug-in Reference: EE_GET_DROPPED_FILE

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Messages


Retrieves the most recently dropped file. You can send this message explicitly or use the Editor_GetDroppedFile inline function.


   wParam = (WPARAM) (int) nIndex;

   lParam = (LPARAM) (LPWSTR) pszBuf;



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.

Return Values

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.

Copyright © 2003-2021 by Emurasoft, Inc.