<html>
<body>
<br>
At 10/7/2008 12:06 PM, David Cole wrote:<br>
<blockquote type=cite class=cite cite="">If you want to do something that
takes longer than Windows' definition of "not responding" and
still call yourself an interactive Windows application, at a minimum you
need to call PeekMessage every few seconds (even if your call does not
remove the messages from the queue or process them...).<br><br>
According to the documentation for the IsHungAppWindow Windows SDK
function...:<br>
<a href="http://msdn.microsoft.com/en-us/library/ms633526(VS.85).aspx">
http://msdn.microsoft.com/en-us/library/ms633526(VS.85).aspx</a><br><br>
...calling PeekMessage every 5 seconds should prevent the "not
responding" status.<br><br>
It also says that 5 seconds is subject to change, and I would guess it's
less than 5 now with Vista.</blockquote><br>
Thanks Dave, I'll test that in VolView, say everything second to be safe
(I timed the "not responding kill switch" threshold at about 2
seconds on my Vista box).<br>
</body>
</html>