If you don't create the handle of the control then
TStringList.DoCompareText and TStringList.QuickSort are used.

If you create the handle, then the Windows API is used in Windows,
setting CBS_SORT style in TWin32WSCustomComboBox.CreateHandle. Windows
then sends a WM_COMPAREITEM message to the window callback routine. I
couldn't find any handler for that, so whatever default from Windows
is used, and I found no documentation explaining how this default
works.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to