user ctrl-clicks.
The problem is when the user shift-clicks. In order to construct a list, I need to get the complete list of files for the current directory which is in the listbox and also get it in the order that it is in the listbox. I have tried to send the listbox a WM_GETTEXT message, but I do not get a response: probably I have the wrong hWnd. I am getting the hWnd with
Expand|Select|Wrap|Line Numbers
- hWndList = FindWindowEx(hWndParent, 0, "SHELLDLL_DefView", vbNullChar)
Note, I get the directory name whenever the user changes it via the CDN_FOLDERCHANGE notification and the CDM_GETFOLDERPATH msg, but I cannot just use dir to get the file list, because it may be in the wrong order. I have to get it from the dialog's listbox.
TIA --Sam