Jump to content

Recommended Posts

Posted

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.

Posted

Yes thank you!! :lmao:

Not exactly what i was looking for but i found some useful snippets

And another 'Thank you' for the quick response

Posted

Btw:

i was just about to write dllcall for the SendMessageTimeout function when i realized.

there is a _WinAPI_IsHungAppWindow($hWnd) function.

 

 

 

 

 

 

i knew it... :oops:

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
×
×
  • Create New...