I am using hooks to detect painting events in another program.
I want to then capture the screen after the painting is done.
My hooks detect the WM_PAINT message before it is done painting,
but how can I know when the application is finished processing
this message?? My current approach lets me capture the screen
before the painting is even started, but I want to capture it right
after it finishes.
I tried just waiting an arbitrary time, but sometimes I wasted
time waiting too long and other times I didn't really wait long
enough.
Start Free Trial