The routines that manage the legend dialog box that appears when the user chooses View-Show Legend are defined here. Note that the contents of the legend (the data ranges, the colors of each range and the titles) are not defined in this file; they are defined in datamap.c. The routines in this file simply manage the dialog box.