PAINT_RedrawWindow3w
Paint_redrawwindow
Usage
BOOL32 PAINT_RedrawWindow
(
HWND32 hwnd,
const RECT32 *rectUpdate,
HRGN32 hrgnUpdate,
UINT32 flags,
UINT32 control
);
Overview
PAINT_RedrawWindow.
Fixme
Windows uses WM_SYNCPAINT to cut down the number of intertask SendMessage() calls. This is a comment inside DefWindowProc() source from 16-bit SDK:
This message avoids lots of inter-app message traffic by switching to the other task and continuing the recursion there.
WParam = flags LOWORD(lParam) = hrgnClip HIWORD(lParam) = hwndSkip (not used; always NULL)
All in all, a prime candidate for a rewrite.