QS_PAINT

const win32event.QS_PAINT;

A WM_PAINT message is in the queue.