PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • "Drag and Drop" from the explorer
ExplorerRetrieve (Example)
"Drag and Drop" from the explorer
The following example is used to retrieve files by "Drag and Drop" from the Windows explorer. The names of files are displayed in a Trace window.
// Initialize the dialog
ExplorerAccept(True, WIN_Win1)
// Branch the WM_DROPFILES event
Event("Explorer", "*.", 563)
PROCÉDURE Explorer()
Nb is int
i is int
// Retrieve the number of files
Nb = ExplorerRetrieve(_EVE.wParam)
// Retrieve all the files
FOR i = 1 to Nb
Trace(ExplorerRetrieve(_EVE.wParam, i))
END
// End of dialog
ExplorerAccept(False, WIN_Win1)
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment