PC SOFT

WINDEV的在线文档

产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

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 浏览器接受.

例子
Nb浏览器获取事件.wParam
// Retrieve all the files
对于i1直到Nb
跟踪浏览器获取事件.wParami))
结束

语法

Retrieving the number of dropped files 隐藏详细信息

<Result> = 浏览器获取(<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 事件.wParam.

Retrieving the name of the dropped files one by one 隐藏详细信息

<Result> = 浏览器获取(<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 事件.wParam.
<Number>: Integer
Subscript of the file whose name must be retrieved.

注意
When a "Drag and Drop" operation 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 (事件.wParam) used in 浏览器获取 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.

组件
WinDev wd200std.dll