You can't delete individual legend items once the legend is created. The flex legend is the best idea, creating a legend with just the items you want. You should be able to use the flex legend for line legends. It looks like you have been using the wrong symbol constants for the flex legend routine. Use LG_LINE for the line symbol, and LGS_DASH or LGS_SOLID for the line style constants. See all of the LG_XXX and LGS_XXX flex legend constants in the qcwin.h file.
|