View Single Post
  #10  
Old September 19th 18, 02:56 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Why when I select pictures 1 to 10, does Paint.NET order themcapriciously?

Wolf K wrote:
On 2018-09-18 22:15, Arlen Holder wrote:
[...]
But when Paint.NET comes up, they're in a seemingly capricious order.
ant008, ant005, ant003, ant006, ant009, ant004, ant002, and007, and001
http://www.bild.me/bild.php?file=731...mbertest04.jpg

[...]

Possibly ordering by date created/modified. See waht you get when you
use command line DIR.


There's some source here, for a simple program to list a directory.

Perhaps you could compile up a copy and test it out, and see whether
FindNextFile is random about things ?

https://docs.microsoft.com/en-us/win...in-a-directory

Listing the Files in a Directory - FindFirstFile, FindNextFile

That code doesn't look recursive, in a quick glance, and
indicates in its output whether an item was a FILE
or a DIR.

There are a couple of compilers that come to mind. There
is the MinGW (32 bit) package, which isn't a pain in the ass
to use. There is Visual Studio, but that'll cause hair loss
by the time you get an EXE out of it :-)

Paul
Ads