PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Retrieves the number and the name of the files "dropped" from the explorer.
Note: To get information from the explorer, the dialog must have been initialized by ExplorerAccept.
Nb = ExplorerRetrieve(_EVE.wParam)
// Retrieve all the files
FOR i = 1 to Nb
Trace(ExplorerRetrieve(_EVE.wParam, i))
END
Syntax

Retrieving the number of dropped files Hide the details

<Result> = ExplorerRetrieve(<Message>)
<Result>: Integer
Number of selected files.
<Message>: System integer
First parameter of the WM_DROPFILES message (returned by the explorer to the WINDEV window or control), which means _EVE.wParam.

Retrieving the name of the dropped files one by one Hide the details

<Result> = ExplorerRetrieve(<Message> , <Number>)
<Result>: Character string
Name and path of the dropped file.
<Message>: System integer
First parameter of the WM_DROPFILES message (returned by the explorer to the WINDEV window or control), which means _EVE.wParam.
<Number>: Integer
Subscript of the file whose name must be retrieved.
Remarks
When a "Drag and Drop" is performed between the explorer and a WINDEV window (or control), the explorer sends the WM_DROPFILES message to the relevant target. The first parameter of this message (_EVE.wParam) used in ExplorerRetrieve returns the content of the "Drag and Drop" operation (number and name of selected files).
Notes:
  • The number and the name of the files selected in the explorer cannot be retrieved if no "Drag and Drop" operation is performed between the explorer and a WINDEV window.
  • The WM_DROPFILES constant is defined in the Winconst.wl file supplied in the "Personal\External" sub-directory and it is set to 0x233.
Components
WINDEVReports and Queries wd230std.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment