http://www.mediamonkey.com/wiki/index.p ... ::Selected
Property Get/Let Selected( Index As Long) As Bool
it's the same of
bool get_Selected(int Index);
void set_Selected(int Index, bool Value);
it's so stupid make a property Selected (or get_Selected) that return a bool becouse I've to pass an Index and check one per one every track.
It's better an array of int that contains the indexes of the tracks selected! like int Selected;
or int get_Selected()
with no param!
(or more better just return a collection of song... all the apis are with this indexes...)
with SelectedSongList I can't do nothing. It's another songlist. I'm using MainTracksWindow that have a list of tracks with an index that correspond to the index of AllVisibleSongList. So if I have to select a track in the MainTracksWindow, and there are already one or more tracks selected, I've to iterate all the AllVisibleSongList (that can take also 20 mins with 80000 tracks) to make for every track
if(MainTracksWindow.Selected[trackIndex]) // is selected???
MainTracksWindow.Selected[trackIndex] = false