Yeah I put a ticker in that loop and if it was around 50% of actual picture I allowed it.
My last problem is getting the screenshot of the window.
Here is the code I found which I slitely modified.
So First I set the handle of the window to the World of Warcraft handle by using our friendly FindWindow function.
HWND hWowWnd = FindWindow("World of Warcraft",NULL);
HDC hWowDC = GetDC(hWowWnd);
Then I create a compatibleDC from it...
then it bitblits the Wow DC
Now it should just take a screenshot of the Wow window and then blit it in my window, but for some reason it only copys whatever is ontop of the desktop?