flat assembler
Message board for the users of flat assembler.
Index
> Windows > Question on Directory functions |
Author |
|
einar 31 Jul 2014, 18:55
I'll try to answer your question. I don't know if there is such function that will sort folders e.g. in alphabetical order.
But Windows Explorer(My Computer) uses listview control: http://msdn.microsoft.com/en-us/library/windows/desktop/bb774737%28v=vs.85%29.aspx To sort listview rows you send message LVM_SORTITEMS http://msdn.microsoft.com/en-us/library/windows/desktop/bb761227%28v=vs.85%29.aspx to it by SendMessage function. One of its params is address of CompareFunc which will determine how items are sorted. But I forgot many things about this issue. So read carefully links and check that one below: http://win32assembly.programminghorizon.com/tut31.html sorry for my english |
|||
31 Jul 2014, 18:55 |
|
clamicun 01 Aug 2014, 15:03
Thank you einar,
I check this out. That masm example is exactely what I wanted. I'll "translate" it into FASM. Your english is ok ! clamicun |
|||
01 Aug 2014, 15:03 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.