Dear All,

I am new in MFC programming. I got the problem in MFC programming. I really hope you can help me.

When set up OnPaint() function in the CFrameWnd, it is ok when it initializes and can load the bitmap.
But when I try to minimize it or cover it with other programs, the error Assert comes, it seems that the bitmap can't update itself, I don't know how to fix it.
Can you help me?

Thx for your help.


Sun
HK student