Is it possible to get/set the dir/name in an external Common Item Dialog?
Common Item Dialog (Windows)
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
==================================================Starting with Windows Vista, the Common Item Dialog supersedes the older Common File Dialog when used to open or save a file.
I've found some information that might be helpful:
c++ - Obtain the true name of the currently select file in the common file dialog? - Stack Overflow
http://stackoverflow.com/questions/1757 ... ile-dialog
Send WM_USER+7 to get the browser, and then get its active shell view's IShellView interface.
How to change a current directory from a CFileDialog-based class after the call to DoModal()?
https://social.msdn.microsoft.com/Forum ... =vcgeneral
Resizing subclassed CFileDialog and adding a 'Select All' button - CodeProject
https://www.codeproject.com/Articles/17 ... ng-a-Selec
Also some AutoHotkey links:
CommonItemDialog.ahk · GitHub
https://gist.github.com/BiggerDigger/69 ... 4d2263867e
SelectFolderEx() - new dialog on Win Vista+ - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?t=18939
member just me please - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=18764
How to change location of Open Save Dialog (COMDLG32) cwith DllCall? - Ask for Help - AutoHotkey Community
https://autohotkey.com/board/topic/9109 ... h-dllcall/
==================================================
Btw there is a quote in this link:
c++ - Obtain the true name of the currently select file in the common file dialog? - Stack Overflow
http://stackoverflow.com/questions/1757 ... ile-dialog
We used to rely upon the fact that the Windows 9x, 2000, and XP version of the common file dialog stored each item's PIDL in the LVITEM data (original credit to Paul DiLascia)
Now, Desktop uses a listview, so does that mean that you can get the full path for a listview item on Desktop directly without using the clipboard?
==================================================
I've tried interacting with an external Common Item Dialog via objects, and getting the PIDLs from an old-style dialog box (e.g. Notepad++) and Desktop, but without success.
Cheers.