Add WM_MOUSEACTIVATE to list of deferred messages

This commit is contained in:
Ben Turner 2009-12-02 18:51:29 -08:00
Родитель c059302c3a
Коммит 0469fa577a
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.