Modifications for versions 2.1 and 2.1.1

(See Versions 2.2 and 2.3 for later info)

Version 2.1 has extensive source code modifications that will facilitate porting WinMDI to other platforms and Windows 95/NT. All the old FAR PASCAL declarations have been replaced with CALLBACK, and there is no longer any near code in WinMDI. The File Tool dialog has been changed from modal to modeless. Many modules were rewritten to improve global memory allocation and pointer handling. The code in the release version 2.1 of WinMDI is compiled for 386 and later CPUs with MS C/C++ 8.00c for Windows 3.1 or later in Protected Mode only. Many routines run faster, and several little bugs have been fixed.

The behavior of the New File button in the Histogram, Dotplot, and Density/Contour Plot format dialogs has been changed: In version 2.1, the recursion bug that caused 2 copies of the Format dialog to be loaded after the New File button was clicked has been removed, and the Format dialog now reappears after the user selects input parameters from the File Open dialog.

The number of window handles the Format Print Page will accept has been doubled from 16 to 32. This fixes a bug where if more than 16 window handles were pasted into the Format Print window, corruption of the handle structure occurred.

The rectangle framing the Annotation text could become corrupted, this has been fixed.

WinMDI now uses the following flags with OpenFile() to view listmode data:

OF_READ | OF_SHARE_DENY_NONE

This fixes a file-sharing bug.

The Annotate functions now work differently: Once the Annotation Text has been entered and placed, it is possible in version 2.1 to both change and move the text. In addition, the Annotation dialog now previews the default Font and saves its parameters between sessions in winmdi.ini. To change/move entered Annotation text:

1) (select/move) click once with the left mouse over the annotation rectangle - this causes the cursor to be moved to the upper left corner of the rectangle. Move text by simply dragging the bounding rectangle (hold down the left mouse button).

2) (Change) after selecting the text as described above, then double click the left mouse button without moving the cursor from the upper left corner.

3) The text string then appears highlighted in an Edit control with an icon to the left showing annotation select.

4) To change the text, just begin typing - the first character entered will clear the text field (caution - backspace will DELETE the annotation text).

5) To accept the text and proceed to relocating it, enter a carriage return <return>.

6) To delete the Annotation text, use the Delete key or the Backspace key.

The Stats Windows now use a Button Bar with buttons using a slightly smaller Font.

Font changes are sent to all class windows in version 2.1 with a redraw.

Version 2.1.1 has a Window NT resize flag item in the Preferences dialog box. A bug is fixed where a 256x256 Contour plot formatted with a map level would cause a GP fault. The Stats window drop down combo box bug has been fixed, and it now shows the *.txt file properly.

If running Windows95, WinMDI 2.1.1 picks up the color scheme for dialog, button, and text widgets. The global memory compact function has been removed.

Version 2.1.2 has the histogram data array references patched to decrease memory problems that were occurring in some systems, especially upon saving data to disk.

Version 2.1.3 has a bug fix where overlaid histograms where not smoothed the correct number of times when displayed in 3D (they were smoothed once no matter what). Overlaid histograms are now smoothed the indicated number of times in all displays.

Version 2.1.4 has the Histogram statistics text formatted for Copy/Paste compatibility with Microsoft Excel (tab delimited). The other display formats were properly formatted in version 2.1.3.