I want to display an oscilloscope in a window. This oscilloscope would have a fixed grid, some fixed text, and the moving signal display.
Ideally the grid and text should be displayed BEHIND the signal, but this is not critical.
The grid and text should be flicker-free.
Finally the scope should not take too much processor time. It is displaying the result of a fairly intensive calculation process, and I don't want to spend half my time just painting.
What is the best way to implement something like this in MFC?