if you dont put BeginPaint and EndPaint in WM_PAINT windows keeps calling WM_PAINT over and over. Why ?

I couldnt find any information about that behavior in msdn :(
Posted on 2002-04-22 01:10:30 by pahan
How are you handling the WM_PAINT message?

If you're not handling it then pass it to DefWindowProc

invoke DefWindowProc,hWnd,uMsg,wParam,lParam

Not sure I'm answering the question... :)
Posted on 2002-04-22 01:16:11 by Sliver
Thank you for your answer.
It worked great :grin: !!
Posted on 2002-04-22 01:48:52 by pahan