Hi guys,

I am to be king of odd problems!

I want MY application to force ANOTHER process window to repaint. I figure this should be easy!

I try all of these:

Code:
		InvalidateRect(hwnd, NULL, TRUE);
		RedrawWindow(hwnd, NULL, NULL, RDW_INVALIDATE | RDW_ERASE | RDW_ERASENOW | RDW_UPDATENOW | RDW_INTERNALPAINT);
		UpdateWindow(hwnd);
		SetWindowPos(hwnd, NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER);
None force repaint! But, if I click in process window, then set focus somewhere else (eg, click on task bar), then click back in process window, repaint happens.

Any idea?

Thanks!