Add WM_MOUSEACTIVATE to list of deferred messages

This commit is contained in:
Ben Turner 2009-12-02 18:51:29 -08:00
Родитель 79b6f8a465
Коммит b63465ed03
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -201,6 +201,12 @@ ProcessOrDeferMessage(HWND hwnd,
break;
}
case WM_MOUSEACTIVATE: {
res = MA_NOACTIVATE;
deferred = new DeferredSendMessage(hwnd, uMsg, wParam, lParam);
break;
}
// These messages need to use the RedrawWindow function to generate the
// right kind of message. We can't simply fake them as the MSDN docs say
// explicitly that paint messages should not be sent by an application.