is there some way to destroy/close a messagebox without clicking on it?
e.g.
-> invoke MessageBox, 0, addr bla, addr bla, 0
doesnt return a handle which i might use with
-> invoke destroywindow, handle
to kill that thing.
so? any ideas? tia...
e.g.
-> invoke MessageBox, 0, addr bla, addr bla, 0
doesnt return a handle which i might use with
-> invoke destroywindow, handle
to kill that thing.
so? any ideas? tia...
try to find it by caption...
what does Spy++ say?
may be there is a special mbox class or smthg?
may be there is a special mbox class or smthg?
also i think da breaker crew released a program that will just get rid of all the messageboxes in a program ;x
Ive got the class #32770, but this dialog is modal and to close it u have to make new thread ;)
@ hexen:
i dont need it for cracking. if you want to crack stuff, this is not the right place for you :-/.
i dont need it for cracking. if you want to crack stuff, this is not the right place for you :-/.
chill, it was just an idea. so you wouldn't have to close all those messageboxes. i didn't say anything about cracking or reverse engineering. the program does all the work. i didn't even give you the name of the program. and i just mentioned it as an idea so you wouldn't have to do all that work to try to get rid of them.:notsure:
ok well i have thought about this a little and i have not written a function for this but i did make a list of things that you could do based on certain attribute of a messagebox. the attributes are here:
now all you would need to do is find out which functions will give you information on these attributes so you can properly identitify it as a messagebox.
i hope this helps a little im not sure that it will but i hope it does.
~HeXeN

now all you would need to do is find out which functions will give you information on these attributes so you can properly identitify it as a messagebox.
i hope this helps a little im not sure that it will but i hope it does.
~HeXeN
I posted code to another thread to get the handle of a MessageBox.
In the other thread I was showing how to change the icon of same. The code
is straight forward and easy to modify. Use the routine and set up a regular timer...
Here:
MessageBox Icon thread
In the other thread I was showing how to change the icon of same. The code
is straight forward and easy to modify. Use the routine and set up a regular timer...
Here:
MessageBox Icon thread
Your other option is to create your own modeless dialog box to display your message, and set-up a timer to destroy it if the user does not do it.
Raymond
Raymond