Jump to content

Test Window/GUI that is hung up or doesnt respond


Recommended Posts

Hi everyone,

I was just wondering if it is possible to manipulate a window so that it isn't responding.

I just need this for testing purposes (a little app that checks if the selected window is still responding)

Also i think i can remember a function called _WinAPI_IsHungApp() or something along those lines. Correct me if im wrong.

 

The App that would check if the window is still responding would use the SendMessageTimeout function (https://msdn.microsoft.com/de-de/library/windows/desktop/ms644952(v=vs.85).aspx) or the built-in _SendMessage() function to send the "WM_NULL" message and then get a response or something like that? I dont quite know what the "WM_NULL" message does to the Window but thats why i would like to have a hung up testing window.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...