|
From: Per W. <pw...@ia...> - 2002-09-24 12:45:24
|
Sorry. Either perform all drawing to a bitmap that may be blitted back to the window on a WM_PAINT, or keep a list of all draw operations, and replay the list. The OS does not keep track of the contents of the windows. /Per W On Tue, 24 Sep 2002, Vlada Djurovic wrote: > Hello, list > I wrote a program for drawing in a window( nothing special, just colord > lines). It works fine, but, when I minimize the window, and then restore > it, the lines are gone. I suppose that when I restore the window from > minimized state, a WM_PAINT message is posted. Is this correct? Is there > some API function which can restore the contents of the window in > response to this message or I have to do it myself? > |