The attached example
- loads all filenames matching \Masm32\Examples\*.inc|*.asm into an array
- displays them in a listview control, sorted by newest first
- allows sorting by name, size, date & time
- allows to pick another folder using GetOpenFileName
- allows to select and open a file from the listview
It is also a demo for conditional assembly (see "MyChoice" in line 10) and uses throughout "short globals" relative to the ebx register.
The *.asc source is for use with RichMasm, the *.asm file is better suited for qEditor.