Unfortunately, no, only one file or folder can be selected using a Path control. Logically, since the file path data type can only carry only path, there is no way it can manage an array of paths.
Alternatively, you can allow multiple file selection using the File Dialog express VI
谢谢你的回复,但这的确不是我需要的。File Dialog express VI可以选择多个文件夹,但是不能选择多个文件夹。同时,我也希望不是这种选择,而是可以直接拖拽多个文件/或文件夹,我想用Call Library Function Node调用windows的DragQueryFile()函数来实现,但是我找不到它的消息机制WM_DROPFILES()中的OnDropFiles()函数,所以无法获取DragQueryFile()函数需要的句柄。
不能用 C++ 的例子,与 LabVIEW 不兼容的。要看 ANSI C 的例子。
要用到一些 advanced Windows program knowledge. 只能全部用 C 做,编成 dll,然后用 CLFN。
不能逐句翻译成 LabVIEW 的。