hmm ok let me try to explain what i ment, maybe i expressed it wrong



anyway, when main dies, i just wanna swtich the window and be able to control the new main as main without pressing the susspend key.. so i said if you were adding something like that in your new version
which would look something like this: dont send keys to any windows except in main if they are on the do-not-send list, when u change from alt to main the new main has a new hwnd, so now u just make the program stop sending the keys to the old hwnd and starts sending to the new one.. it wouldnt actually "have" a new hwnd it would just be the alt window which is a main now and the main would become alt

sounds counfusing if i read it now but i hope u know what i mean

but to be honest i really dont care if i still send keys to the "dead" char as long as the new main window accepts the keys
which at the moment it kinda doenst, so when i die and change the main even with susspend it keeps not sending the keys to the new main