15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Error in CListCtrl::Arrange()?

Alexander Stigsen -- ccc4864@vip.cybercity.dk
Thursday, May 16, 1996


VC++ 4.0 / Win95

I have a CListCtrl which I would like to sort after having changed
the contents of a few items.

I have tried using Arrange(LVA_DEFAULT|LVA_SORTASCENDING) which according
to the documentation should sort the items in scending order, but when I
try to compile I am told that LVA_SORTASCENDING is an undeclared identifier.

Is this an error in the documentation or am I forgetting to include something?

Thanks for any help..

Alexander Stigsen





Ken Freeman -- kfreeman@pobox.com
Monday, May 20, 1996

This does look like a doc error.  Use CListCtrl::SortItems
to do your sort.

Ken

Alexander Stigsen wrote:
> 
> VC++ 4.0 / Win95
> 
> I have a CListCtrl which I would like to sort after having changed
> the contents of a few items.
> 
> I have tried using Arrange(LVA_DEFAULT|LVA_SORTASCENDING) which according
> to the documentation should sort the items in scending order, but when I
> try to compile I am told that LVA_SORTASCENDING is an undeclared identifier.
> 
> Is this an error in the documentation or am I forgetting to include something?
> 
> Thanks for any help..
> 
> Alexander Stigsen




| Вернуться в корень Архива |