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 :(
I couldnt find any information about that behavior in msdn :(
How are you handling the WM_PAINT message?
If you're not handling it then pass it to DefWindowProc
Not sure I'm answering the question... :)
If you're not handling it then pass it to DefWindowProc
.ELSEIF eax==WM_PAINT
.ELSE
invoke DefWindowProc,hWnd,uMsg,wParam,lParam
.ENDIF
Not sure I'm answering the question... :)
Thank you for your answer.
It worked great :grin: !!
It worked great :grin: !!