Dmitry Timoshkov : user32: Always call BeginPaint/ EndPaint when handling a WM_PAINT message for the button.