Problem in reflush my Double buffer window

i make a double buffer window to form stereo model with WildCat870 card.
the problem is,when a dialog overcast my window,
then i click OK to destroy it,the window will not
redraw,and so the dialog’s background will leave.
Could Anybody tell me when a dialog destroyed,how can i redraw my window?
many thanks.

i catch WM_PAINT message and respond it,and OnPaint() itself doesn’t work ;so i add OnDraw(mypDC),it does not work too.
i don’t know where i should catch it,and repaint it.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.