>I just found out by RTFS (reading the source) that SndCreateMidiList()
>*sorts*...
Good catch, we'll add that to the documentation.
>The current implementation effectively renders the function useless for
>retrieving a certain system sound, because the names and hence the returned
>list order are different in localized ROMs.
Well, the selection of sounds in there isn't set in stone either - it is
easy to write an app that adds sounds to the list, removes them, edits
them, etc. I'm surprised there aren't more than the few I've seen.
So because it isn't a list with guaranteed contents anyway, the ordering
can't be relied upon to get a specific sound by its index in the database.
Can I turn the question around and ask why you wanted to retrieve a certain
system sound, instead of the full list and/or the one currently selected by
the user?
-David Fedor
Palm Developer Support