I would suggest not to use DoEvents in a loop but to set the timer for specific number of seconds in the design time...
Are you actually suggesting I use a timer control rather than the Timer function?
At any rate this is a side issue and the main question about how to retrieve the captured window dimensions remains open.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)