Hey, I want to check if a program is frozen by using send message..

what message should i send it? and will this work?
like could i send it something random like 0xFFFC?

I would send it a private message -- WM_USER+1 for example. But you will want to register the private message so that something else doesn't try to use the same number for another purpose.

Wrong method.
Uses Win32 system api to test if frozen.

Wrong method.
Uses Win32 system api to test if frozen.

Would you mind explaining that, or do you always just throw in some comment and hope that you're right?

commented: I agree >.< +8