Windows API CodePack. Get All Selected Items from CommonOpenFileDialog:IFileOpenDialog
$30-120 USD
Đang triển khai
Đã đăng vào khoảng 10 năm trước
$30-120 USD
Thanh toán khi bàn giao
I work with the CommonOpenFileDialog class from the Windows® API Code Pack for Microsoft® .NET Framework
that implements the IFileOpenDialog interface.
More info about Windows API CodePack here:
[login to view URL]
Problem #1.
Pressing on the Open button in the "Open File Dialog" dialog window opens the FIRST selected folder in all the below cases:
- A single folder was selected
- Folder(s) and file(s) were selected
- Multiple folders were selected
Task #1
I need to close the "Open File Dialog" dialog window after pressing the Open button if at least one file or one folder was selected.
Problem #2.
The below method returns the first selected folders if (multiple folders) or (mutltiple folders and files) were selected in the "Open File Dialog" dialog window.
[login to view URL]([MarshalAs([login to view URL])] out IShellItemArray ppsai)
Task #2
Create a method that will return all selected elements (folders and files) in the IFileOpenDialog window as a list of IShellItem,
no matter what I selected there.
Good day!
I have a lot of experience into modifying system FileDialog (behavior and UI) from comtrl at WinAPI. We can particularly discuss it if you are interesting.
Thanks,
Sergey
$111 USD trong 3 ngày
0,0 (0 nhận xét)
0,0
0,0
2 freelancer chào giá trung bình $116 USD cho công việc này