March 18th, 2010, 05:27 AM
Please, read MSDN carefully!
March 18th, 2010, 04:37 AM
Please, read the documentation (MSDN).
PS: BTW, why did you get the arySel with the item indexes if you don't use it at all? :confused::thumbd:
March 17th, 2010, 01:02 PM
The CArray<int,int> aryListBoxSel contains the indexes of selected items.
March 17th, 2010, 12:14 PM
Start with the example from MSDN article CListBox::GetSelItems
I hope, a simple sorting algorithm won't be a problem for a programmer being able to program with Assembler for hardware! ;)
March 17th, 2010, 05:41 AM
1. Your code is a little strange: what for are you using
_asm nop;
2. To delete items in a listbox with multi-selection you have to call CListBox::GetSelItems , then sort the item indexes in a...