Display Issues after toggling out of History mode

Summary

Id: 13463.11
Type: Bug Bug
Current Status: Resolved

Detail

6 Feb 2004 Open Tony Starkey

Although it is possible to toggle between History mode and non-History mode, the control does not redraw quite correctly, e.g., the line border box present in History mode never actually disappears, though all other characteristics of History mode are removed. I haven't looked deeply into the source yet to see if I can find out why that is.

Tony Starkey

Senior Programmer

Lufkin Automation

15 Feb 2004 Resolved Steve McMahon

This was partly a copy-paste bug in the HistoryStyle method, which actually checked the ShowNumbers style before changing the HistoryStyle value. Once that was fixed, added a call to InvalidateRect to refresh the Window when the style changes.