SortTest Changes

Copyright © 2011 by David Wincelberg

SortTest 2.0

  1. Modified to compare alphabetic, simple alphanumeric and full alphanumeric ordering.

  2. Put in the following changes to full alphanumeric ordering.
    a) Added conditional compilation for locale order, numbers in parentheses and Windows.
    b) Now allows for setting a decimal symbol and a thousand separator (other than a period).
    c) Now allows for comparing otherwise-equal strings based on length.
    d) Now allows for decimal numbers in parentheses.

  3. Added samples with the new copy format (File - Copy (1).txt).

SortTest 1.7

  1. Fixed hand cursor on About page for display on Vista.
  2. Put in try/catch blocks for operator new throwing CMemoryException where reasonable. Requires "Enable exception handling" (/GX) in the C++ tab, C++ Language category of the Project Settings dialog.

SortText 1.6

  1. Added PreSubclassWindow() to the sort classes to check that window styles are set properly. In debug mode, these classes would assert if required styles are absent or prohibited styles are present.

SortTest 1.5

  1. Renamed classes so that owner-draw classes end in "OD" and insertion-sort classes do not start with "Ins".
  2. Added samples for check list boxes, list controls and tree controls.
  3. Changed the display from a dialog box that contained two samples (list boxes and combo boxes) to a property sheet.
  4. Changed the default sorting method from alphabetic to alphanumeric in the sort classes.
  5. For many of the controls, removing the sort style will turn off sorting. The exceptions are tree controls and list controls. For tree controls, sorting is controlled by calling functions such as SortChildren() and InsertItem().

Return to main page
Last updated: 25-May-2011