Flicker Free drawing

It works very similar to the description of Flicker Free example with dialog.

The main point are to overload ON_WM_ERASEBKGND(), Invalidate the Window Area and paint in OnPaint with the class CMemDC.

Here however one has to make sure that there is no ON_WM_ERASEBKGND() in the Parent Dialog.

Resizing of Images

In this project the facility of CMemDC to scale the data to be shown is used:
vector<vector <COLORREF> > PlotData;