RanBN
asked on
CFileDialog - multi-select
hi all,
I inherited CFileDialog, and overloaded "OnFileNameChange". since I do some operations on each file that is clicked (not chosen), I need to know if a single file was picked or multi files were picked.
10x, RanBN
I inherited CFileDialog, and overloaded "OnFileNameChange". since I do some operations on each file that is clicked (not chosen), I need to know if a single file was picked or multi files were picked.
10x, RanBN
You canmake use of GetStartPosition and GetNextPathName calls to check if there are more than one files selected or not. If there is only one file selected then the call GetNextPathName will return NULL in the POSITION parameter.
ASKER
I would like to get info whether I'm in a multi-select mode in the dialog life cycle, and not after the DoModal ends. I would like to know it in method OnFileNameChange().
10x, Ran
10x, Ran
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.