OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: khann on August 11, 2013, 09:51:12 PM

Title: Listview's sorting problem of Icon Style
Post by: khann on August 11, 2013, 09:51:12 PM
Hi.
As Fred already posted
(here : http://www.opendcl.com/forum/index.php?topic=658.msg3174#msg3174 (http://www.opendcl.com/forum/index.php?topic=658.msg3174#msg3174))
Listview's sorting properties is working on non Icon style.
But I tested Fred's sample Listviews of Icon style, it's not working.
Sorting of Listview's Icon style is still not working?
Title: Re: Listview's sorting problem of Icon Style
Post by: owenwengerd on August 12, 2013, 07:56:43 AM
This is from MSDN (http://msdn.microsoft.com/en-us/library/windows/desktop/bb774739(v=vs.85).aspx):

QuoteBecause the LVS_LIST and LVS_REPORT views display items in the same order as their indexes, the results of sorting are immediately visible to the user. The LVS_ICON and LVS_SMALLICON views do not use item indexes to determine the position of icons. With those views, the results of sorting are not visible to the user.
Title: Re: Listview's sorting problem of Icon Style
Post by: khann on August 13, 2013, 12:58:45 AM
Thanks, Owen.
Mm...
I need to do something for sorting ListViews Icon.