Hi!
I have a problem: my program's main window is a dialog with CStatic control on it. Program gets CStatic's DC and draws some kind of graph on it. But when the window is minimized and then restored again, this control is empty (it's content is reset). I have one idea: to paint everything on virtual (in-memory) DC and then copy it to the CStatic DC. Virtual DC shouldn't be flushed when the window is minimized, should it? I tried to do so, but nothing works. Help me, please, or point me to another solution of this problem.
Thanx, bye!
I have a problem: my program's main window is a dialog with CStatic control on it. Program gets CStatic's DC and draws some kind of graph on it. But when the window is minimized and then restored again, this control is empty (it's content is reset). I have one idea: to paint everything on virtual (in-memory) DC and then copy it to the CStatic DC. Virtual DC shouldn't be flushed when the window is minimized, should it? I tried to do so, but nothing works. Help me, please, or point me to another solution of this problem.
Thanx, bye!