I understand that we can use the function SendMessageTimeout to check if a window is hang. But how about a thread, that didn't call GetMessage ? Thanks.