Page 2 of 30

Posted: Thu Dec 09, 2004 8:39 am
by gnozal
Library update

- fixed : sorting process did reset the alignment to the left
- added : function PureLVSORT_SetUserIcons() [see example file n°3]

Posted: Fri Dec 10, 2004 8:35 am
by gnozal
Yet another library update (the last one I hope)

- changed : now I use CreateDIBitmap_() instead of CatchImage() so no more image library dependence (no chance to interfere with main program).

The locked column feature seems impossible to do, at least with LVM_SORTITEMS and the callback compare function. Sorry !

Posted: Fri Apr 15, 2005 7:44 am
by gnozal
Library update
- modified : help file is now CHM
- added : new function PureLVSORT_GetClickedColumn()

Posted: Wed May 18, 2005 2:32 pm
by Bonne_den_kule
Can you make a function to detect which sorting direction a column is sorted with, and a function to sort after filesizes(f.exp: 15.02 MB, 5.98 GB 100 KB, 65 B)?

Great PB library.

Posted: Wed May 18, 2005 3:22 pm
by gnozal
Bonne_den_kule wrote:Can you make a function to detect which sorting direction a column is sorted with, and a function to sort after filesizes(f.exp: 15.02 MB, 5.98 GB 100 KB, 65 B)?
I will see for the next version.

Posted: Mon May 23, 2005 7:41 am
by gnozal
Update
- new feature : new column type #PureLVSORT_FileSize for sorting file sizes (examples : "1.23 GB", "235.51 MB", "1021 KB")
- new function : PureLVSORT_SetColumnAlignment()
- new function : PureLVSORT_SetColumnWidth()
- new function : PureLVSORT_GetSortingDirection()

Posted: Mon May 23, 2005 9:31 am
by DoubleDutch
Nice (again!) :)

Posted: Tue May 24, 2005 7:44 pm
by Flype
exactly what i need, thanx.

Posted: Tue May 24, 2005 8:13 pm
by Bonne_den_kule
Thanks, all the functions I was asking for.
Very nice library.
Good job :P

Posted: Sun Jun 12, 2005 5:53 pm
by Andre
First time I tested your lib myself. Thanks for a great lib! :D

A question from me: is it possible to use the LVSort sorting process to automatically do the sorting also in an array/linkedlist, which is related to the #ListIcon?

Else I must re-built my linkedlist manually or search the whole list for matching items after the user has choosen an item of the ListIcon. Would be nice, if here would be a possibility to "sync" both processes. :wink:

Posted: Sun Jun 19, 2005 7:19 pm
by Andre
No one have an idea? :roll:

I thought, there is maybe a solution which can be integrated in the callback. But propably only gnozal can help because of his internal knowledge of the PureLVSORT lib. :D

Posted: Wed Jun 22, 2005 2:12 pm
by gnozal
Andre wrote:A question from me: is it possible to use the LVSort sorting process to automatically do the sorting also in an array/linkedlist, which is related to the #ListIcon?
LVSort uses the #LVM_SORTITEMS message, so it directly sorts the gadget without knowing anything about arrays or linked lists.

This stuff is just great

Posted: Thu Jun 23, 2005 2:46 am
by Fangbeast
Thanks Gnozal, you have no idea just how much help your library is. It just rocks!

Posted: Mon Aug 22, 2005 4:23 pm
by gnozal
Update

What's new :
- fixed a bug in date sorting (I was using PB date functions, wich don't work for older dates)
- some optimizations

Posted: Tue Aug 23, 2005 4:09 pm
by Flype
hello gnozal,

i like the #PureLVSORT_DateDDMMYYYY flag.
i use it very very often but i need a little bit more powerful flag.

in fact, i need to display in a column a datetime like this :
DD/MM/YYYY HH:MM:SS or DD.MM.YY HH:MM

So is it possible to add DATETIME and TIME sorting ?

regards.