Kevin Menard
2010-06-15 01:41:33 UTC
Hi,
I'm trying to resize a window and then capture a screenshot of its contents.
To do so, I'm calling MoveWindow followed by PrintWindow. The problem is
PrintWindow is being triggered before the client area finishes repainting
from the move.
Is there any way to make the paint operation synchronous? Or is there some
other way to check that the client area has in fact repainted?
Thanks,
Kevin
I'm trying to resize a window and then capture a screenshot of its contents.
To do so, I'm calling MoveWindow followed by PrintWindow. The problem is
PrintWindow is being triggered before the client area finishes repainting
from the move.
Is there any way to make the paint operation synchronous? Or is there some
other way to check that the client area has in fact repainted?
Thanks,
Kevin