Solved

ShellListView sort order

Posted on 2004-10-13
4
667 Views
Last Modified: 2008-01-09
How can I change the display order of items in aTshellListView when in the vsReport style.


Thanks in anticipation
Alan
0
Comment
Question by:alanjbrown
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:EddieShipman
ID: 12301556
Jim Kunemann posted a workaround on the Borland newsgroups. I could not find it using Google but if
you search http://www.tamaracka.com you can find the post.

Search for this term "TShellListView and sorting and ^Delphi" (without the quotes)
and look for the thread started by Michael Murray on Feb 6th. Apparently it wasn't
archived by Google.

Anyway. you are going to have to rebuild the vclshlctrls and dclshlctrls packages. You must uninstall them first
and delete the vclshlctrls.dcp in the Lib directory before doing it. Set the DCP Output dorectory for vclshlctrls.bpl
to the Lib directory and recompile. Then recompile and install dclshlctrls.

I have not been able to get it to work for me in D6Pro but maybe it will in your version.
0
 
LVL 1

Author Comment

by:alanjbrown
ID: 12301632
Some one just suggested using CustomSort as a simple way of doing it, but he could not give me any further info.
0
 
LVL 26

Accepted Solution

by:
EddieShipman earned 500 total points
ID: 12302304
CustomSort won't work with TShellListview, besides, you have to crack it to
access it because CustomSort is not a method in TShellListView.

Here is the link directly to the article I mentioned above:
http://216.101.185.148/scripts/isapi.dll/execute?SearchFor=TShellListView%20sort%20Kueneman%20ShellCompare%20^Delphi
0
 
LVL 1

Author Comment

by:alanjbrown
ID: 12306305
Eddie

Thank you for the answer, it works very well

Alan
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question