[Bug 7404] ShowWindow(SW_MINIMIZE) should not generate a WM_PAINT message