Answer the question
In order to leave comments, you need to log in
How to find out the sort type of a directory?
Hello!
I am writing my Gif Viewer simple and light.
The problem is that when you run the program, it loads the file names of the current directory from the .gif types into the collection. But, I need to sort this collection according to the sorting type of the current directory in order to scroll through the GIFs in the same order in which the files of this directory are sorted.
How can this be implemented?
How can I programmatically find out how the files in the current directory are sorted?
I will be very grateful for your help))
Answer the question
In order to leave comments, you need to log in
I mean - how are they sorted in Explorer? The task is non-trivial, it is solved using Windows Shell Interfaces .
And I'm 99% sure you don't need it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question