> Got any examples on how to tell if the application in
> question isn't responding using this function?
Use SendMessageTimeout to send a message to the window. If the message times out after, say, 10 seconds, you can assume the applcation is not responding (the task manager assumes this after 5 seconds).
assume h is the window handle:
if SendMessageTimeout(H, WM_NULL, 0, 0, SMTO_NORMAL, 100, Res) <> 0 then
showmessage("'Responding")
else
showmessage("'Not Responding")
end if
edit:
Send MessageTimeout's declaration
<P ID="signature"></P><P ID="edit"><FONT class="small">
Edited by SirDaShadow on 10/30/04 09:09 AM.</FONT></P>